Class ComConnection.Default
java.lang.Object
one.microstream.communication.types.ComConnection.Default
- All Implemented Interfaces:
ComConnection
- Enclosing interface:
- ComConnection
public static class ComConnection.Default extends Object implements ComConnection
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.communication.types.ComConnection
ComConnection.Default
-
Constructor Summary
Constructors Constructor Description Default(SocketChannel channel)
-
Method Summary
Modifier and Type Method Description void
close()
void
enableSecurity()
ByteBuffer
read(ByteBuffer buffer, int length)
void
readCompletely(ByteBuffer buffer)
void
readUnsecure(ByteBuffer buffer)
ByteBuffer
readWithTimeOut(ByteBuffer buffer, int length)
void
setTimeOut(int inactivityTimeout)
void
write(ByteBuffer buffer, int timeout)
void
writeCompletely(ByteBuffer buffer)
void
writeUnsecured(ByteBuffer buffer)
-
Constructor Details
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceComConnection
-
readCompletely
- Specified by:
readCompletely
in interfaceComConnection
-
writeCompletely
- Specified by:
writeCompletely
in interfaceComConnection
-
read
- Specified by:
read
in interfaceComConnection
-
readWithTimeOut
-
write
- Specified by:
write
in interfaceComConnection
-
enableSecurity
public void enableSecurity()- Specified by:
enableSecurity
in interfaceComConnection
-
readUnsecure
- Specified by:
readUnsecure
in interfaceComConnection
-
writeUnsecured
- Specified by:
writeUnsecured
in interfaceComConnection
-
setTimeOut
public void setTimeOut(int inactivityTimeout)- Specified by:
setTimeOut
in interfaceComConnection
-