Package com.db4o.cs.internal
Class Socket4Adapter
- java.lang.Object
-
- com.db4o.cs.internal.Socket4Adapter
-
public class Socket4Adapter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Socket4Adapter(Socket4 delegate)
Socket4Adapter(Socket4Factory socketFactory, java.lang.String hostName, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
Socket4Adapter
public Socket4Adapter(Socket4 delegate)
-
Socket4Adapter
public Socket4Adapter(Socket4Factory socketFactory, java.lang.String hostName, int port)
-
-
Method Detail
-
close
public void close() throws Db4oIOException
- Throws:
Db4oIOException
-
flush
public void flush() throws Db4oIOException
- Throws:
Db4oIOException
-
isConnected
public boolean isConnected()
-
openParalellSocket
public Socket4Adapter openParalellSocket() throws Db4oIOException
- Throws:
Db4oIOException
-
read
public int read(byte[] buffer, int bufferOffset, int byteCount) throws Db4oIOException
- Throws:
Db4oIOException
-
setSoTimeout
public void setSoTimeout(int timeout)
-
write
public void write(byte[] bytes, int offset, int count) throws Db4oIOException
- Throws:
Db4oIOException
-
write
public void write(byte[] bytes) throws Db4oIOException
- Throws:
Db4oIOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-