public class Socket4Adapter
extends java.lang.Object
| Constructor and Description |
|---|
Socket4Adapter(Socket4 delegate) |
Socket4Adapter(Socket4Factory socketFactory,
java.lang.String hostName,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
boolean |
isConnected() |
Socket4Adapter |
openParalellSocket() |
int |
read(byte[] buffer,
int bufferOffset,
int byteCount) |
void |
setSoTimeout(int timeout) |
java.lang.String |
toString() |
void |
write(byte[] bytes) |
void |
write(byte[] bytes,
int offset,
int count) |
public Socket4Adapter(Socket4 delegate)
public Socket4Adapter(Socket4Factory socketFactory, java.lang.String hostName, int port)
public void close()
throws Db4oIOException
Db4oIOExceptionpublic void flush()
throws Db4oIOException
Db4oIOExceptionpublic boolean isConnected()
public Socket4Adapter openParalellSocket() throws Db4oIOException
Db4oIOExceptionpublic int read(byte[] buffer,
int bufferOffset,
int byteCount)
throws Db4oIOException
Db4oIOExceptionpublic void setSoTimeout(int timeout)
public void write(byte[] bytes,
int offset,
int count)
throws Db4oIOException
Db4oIOExceptionpublic void write(byte[] bytes)
throws Db4oIOException
Db4oIOExceptionpublic java.lang.String toString()
toString in class java.lang.Object