Class ComChannelDynamic<C>
java.lang.Object
one.microstream.communication.binarydynamic.ComChannelDynamic<C>
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ComChannel
- Direct Known Subclasses:
ComClientChannelDynamic
,ComHostChannelDynamic
public abstract class ComChannelDynamic<C> extends Object implements ComChannel
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.communication.types.ComChannel
ComChannel.Default
-
Field Summary
Fields Modifier and Type Field Description protected C
connection
protected ComHandlerRegistry
handlers
protected PersistenceManager<?>
persistenceManager
protected ComProtocol
protocol
-
Constructor Summary
Constructors Constructor Description ComChannelDynamic(PersistenceManager<?> persistenceManager, C connection, ComProtocol protocol)
-
Method Summary
-
Field Details
-
Constructor Details
-
ComChannelDynamic
public ComChannelDynamic(PersistenceManager<?> persistenceManager, C connection, ComProtocol protocol)
-
-
Method Details
-
requestUnhandled
-
send
- Specified by:
send
in interfaceComChannel
-
receive
- Specified by:
receive
in interfaceComChannel
-
close
public final void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceComChannel
-