Package com.db4o.cs.foundation
Class Socket4Decorator
- java.lang.Object
-
- com.db4o.cs.foundation.Socket4Decorator
-
-
Constructor Summary
Constructors Constructor Description Socket4Decorator(Socket4 socket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()booleanisConnected()Socket4openParallelSocket()intread(byte[] buffer, int offset, int count)voidsetSoTimeout(int timeout)java.lang.StringtoString()voidwrite(byte[] bytes, int offset, int count)
-
-
-
Field Detail
-
_socket
protected Socket4 _socket
-
-
Constructor Detail
-
Socket4Decorator
public Socket4Decorator(Socket4 socket)
-
-
Method Detail
-
close
public void close() throws java.io.IOException
-
flush
public void flush() throws java.io.IOException
-
isConnected
public boolean isConnected()
- Specified by:
isConnectedin interfaceSocket4
-
openParallelSocket
public Socket4 openParallelSocket() throws java.io.IOException
- Specified by:
openParallelSocketin interfaceSocket4- Throws:
java.io.IOException
-
read
public int read(byte[] buffer, int offset, int count) throws java.io.IOException
-
setSoTimeout
public void setSoTimeout(int timeout)
- Specified by:
setSoTimeoutin interfaceSocket4
-
write
public void write(byte[] bytes, int offset, int count) throws java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-