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