Class ComConnectionListener.Default
java.lang.Object
one.microstream.communication.types.ComConnectionListener.Default
- All Implemented Interfaces:
ComConnectionListener<ComConnection>
- Direct Known Subclasses:
ComTLSConnectionListener
- Enclosing interface:
- ComConnectionListener<C>
public static class ComConnectionListener.Default extends Object implements ComConnectionListener<ComConnection>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.communication.types.ComConnectionListener
ComConnectionListener.Default
-
Constructor Summary
Constructors Modifier Constructor Description protected
Default(ServerSocketChannel serverSocketChannel)
-
Method Summary
Modifier and Type Method Description void
close()
ComConnection
createConnection(SocketChannel channel)
boolean
isAlive()
ComConnection
listenForConnection()
-
Constructor Details
-
Method Details
-
createConnection
- Specified by:
createConnection
in interfaceComConnectionListener<ComConnection>
-
listenForConnection
- Specified by:
listenForConnection
in interfaceComConnectionListener<ComConnection>
-
close
public final void close()- Specified by:
close
in interfaceComConnectionListener<ComConnection>
-
isAlive
public boolean isAlive()- Specified by:
isAlive
in interfaceComConnectionListener<ComConnection>
-