public class TimedWriter
extends java.lang.Object
Constructor and Description |
---|
TimedWriter() |
Modifier and Type | Method and Description |
---|---|
java.net.Socket |
createSocket(java.net.InetAddress local,
java.net.InetAddress remote,
int port,
long timeout)
Tries to create a socket to remote_peer:remote_port.
|
static void |
main(java.lang.String[] args) |
void |
write(java.io.OutputStream out,
byte[] buf,
long timeout)
Writes data to an output stream.
|
void |
write(java.io.OutputStream out,
int i,
long timeout) |
public void write(java.io.OutputStream out, byte[] buf, long timeout) throws java.lang.Exception, org.jgroups.util.TimedWriter.Timeout, java.lang.InterruptedException
java.lang.Exception
org.jgroups.util.TimedWriter.Timeout
java.lang.InterruptedException
public void write(java.io.OutputStream out, int i, long timeout) throws java.lang.Exception, org.jgroups.util.TimedWriter.Timeout, java.lang.InterruptedException
java.lang.Exception
org.jgroups.util.TimedWriter.Timeout
java.lang.InterruptedException
public java.net.Socket createSocket(java.net.InetAddress local, java.net.InetAddress remote, int port, long timeout) throws java.lang.Exception, org.jgroups.util.TimedWriter.Timeout, java.lang.InterruptedException
java.lang.Exception
org.jgroups.util.TimedWriter.Timeout
java.lang.InterruptedException
public static void main(java.lang.String[] args)
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.