Package deltix.util.vsocket
Interface VSocket
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,deltix.util.lang.Disposable
- All Known Implementing Classes:
AeronIpcSocket
,MemorySocket
,OffHeapIpcSocket
,VSocketImpl
public interface VSocket extends deltix.util.lang.Disposable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
close()
int
getCode()
VSocketInputStream
getInputStream()
VSocketOutputStream
getOutputStream()
java.lang.String
getRemoteAddress()
default java.lang.String
getSocketIdStr()
int
getSocketNumber()
Serial number of this socket.void
setCode(int code)
-
-
-
Method Detail
-
getInputStream
VSocketInputStream getInputStream()
-
getOutputStream
VSocketOutputStream getOutputStream()
-
getRemoteAddress
java.lang.String getRemoteAddress()
-
close
void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in interfacedeltix.util.lang.Disposable
-
getCode
int getCode()
-
setCode
void setCode(int code)
-
getSocketNumber
int getSocketNumber()
Serial number of this socket. Should be used only for easier identification of the socket during debug.
-
getSocketIdStr
default java.lang.String getSocketIdStr()
-
-