Package deltix.util.vsocket
Class OffHeapIpcSocket
- java.lang.Object
-
- deltix.util.vsocket.OffHeapIpcSocket
-
-
Constructor Summary
Constructors Constructor Description OffHeapIpcSocket(java.net.Socket socket, int code, boolean isServer, int socketNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
getCode()
VSocketInputStream
getInputStream()
VSocketOutputStream
getOutputStream()
java.lang.String
getRemoteAddress()
int
getSocketNumber()
Serial number of this socket.void
setCode(int code)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface deltix.util.vsocket.VSocket
getSocketIdStr
-
-
-
-
Method Detail
-
getInputStream
public VSocketInputStream getInputStream()
- Specified by:
getInputStream
in interfaceVSocket
-
getOutputStream
public VSocketOutputStream getOutputStream()
- Specified by:
getOutputStream
in interfaceVSocket
-
getRemoteAddress
public java.lang.String getRemoteAddress()
- Specified by:
getRemoteAddress
in interfaceVSocket
-
close
public void close()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getSocketNumber
public int getSocketNumber()
Description copied from interface:VSocket
Serial number of this socket. Should be used only for easier identification of the socket during debug.- Specified by:
getSocketNumber
in interfaceVSocket
-
-