Interface ComConnectionListener<C>
- Type Parameters:
C
- the communication layer type
- All Known Implementing Classes:
ComConnectionListener.Default
,ComTLSConnectionListener
public interface ComConnectionListener<C>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ComConnectionListener.Default
-
Method Summary
Modifier and Type Method Description void
close()
ComConnection
createConnection(SocketChannel channel)
static ComConnectionListener.Default
Default(ServerSocketChannel serverSocketChannel)
boolean
isAlive()
C
listenForConnection()
-
Method Details
-
createConnection
-
listenForConnection
C listenForConnection() -
close
void close() -
isAlive
boolean isAlive() -
Default
-