Class ComHost.Default<C>
java.lang.Object
one.microstream.communication.types.ComHost.Default<C>
public static final class ComHost.Default<C> extends Object implements ComHost<C>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.communication.types.ComHost
ComHost.Default<C>
-
Method Summary
Modifier and Type Method Description void
acceptConnections()
Listens for incoming connections and relays them for processing.InetSocketAddress
address()
boolean
isListening()
ComProtocolProvider<C>
protocolProvider()
void
run()
void
stop()
-
Method Details
-
address
-
protocolProvider
- Specified by:
protocolProvider
in interfaceComHost<C>
-
run
public void run() -
stop
public void stop() -
isListening
public boolean isListening()- Specified by:
isListening
in interfaceComHost<C>
-
acceptConnections
public void acceptConnections()Description copied from interface:ComHost
Listens for incoming connections and relays them for processing.- Specified by:
acceptConnections
in interfaceComHost<C>
-