| Constructor and Description |
|---|
Socket4Decorator(Socket4 socket) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
boolean |
isConnected() |
Socket4 |
openParallelSocket() |
int |
read(byte[] buffer,
int offset,
int count) |
void |
setSoTimeout(int timeout) |
java.lang.String |
toString() |
void |
write(byte[] bytes,
int offset,
int count) |
protected Socket4 _socket
public Socket4Decorator(Socket4 socket)
public void close()
throws java.io.IOException
public void flush()
throws java.io.IOException
public boolean isConnected()
isConnected in interface Socket4public Socket4 openParallelSocket() throws java.io.IOException
openParallelSocket in interface Socket4java.io.IOExceptionpublic int read(byte[] buffer,
int offset,
int count)
throws java.io.IOException
public void setSoTimeout(int timeout)
setSoTimeout in interface Socket4public void write(byte[] bytes,
int offset,
int count)
throws java.io.IOException
public java.lang.String toString()
toString in class java.lang.Object