Package org.refcodes.io
Interface BlockTransceiver<DATA extends java.io.Serializable>
-
- Type Parameters:
DATA- The type of the datagram to be operated with.
- All Superinterfaces:
BlockConsumer<DATA>,BlockProvider<DATA>,BlockReceiver<DATA>,BlockSender<DATA>,org.refcodes.component.Closable,org.refcodes.component.Closable.CloseAutomaton,org.refcodes.component.ClosedAccessor,org.refcodes.component.ConnectableComponent,org.refcodes.component.ConnectableComponent.ConnectableAutomaton,org.refcodes.component.ConnectionStatusAccessor,java.io.Flushable,org.refcodes.component.Flushable,org.refcodes.component.OpenedAccessor,Receivable,org.refcodes.mixin.Releaseable,Sendable
public interface BlockTransceiver<DATA extends java.io.Serializable> extends BlockSender<DATA>, BlockReceiver<DATA>
Combines theBlockSenderandBlockReceiverfunctionality in a single interface to be implemented by a single class so thatBlockSenderandBlockReceiverfunctionality can be provided by a single instance.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.component.Closable
org.refcodes.component.Closable.CloseAutomaton, org.refcodes.component.Closable.CloseBuilder<B extends org.refcodes.component.Closable.CloseBuilder<B>>
-
Nested classes/interfaces inherited from interface org.refcodes.component.ClosedAccessor
org.refcodes.component.ClosedAccessor.ClosedMutator, org.refcodes.component.ClosedAccessor.ClosedProperty
-
Nested classes/interfaces inherited from interface org.refcodes.component.ConnectableComponent
org.refcodes.component.ConnectableComponent.ConnectableAutomaton
-
Nested classes/interfaces inherited from interface org.refcodes.component.ConnectionStatusAccessor
org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusMutator, org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusProperty
-
-
Method Summary
-
Methods inherited from interface org.refcodes.io.BlockConsumer
writeDatagrams, writeDatagrams
-
Methods inherited from interface org.refcodes.io.BlockProvider
readDatagrams, readDatagrams
-
Methods inherited from interface org.refcodes.component.Closable
close, closeIn, closeQuietly, closeUnchecked
-
Methods inherited from interface org.refcodes.component.ConnectionStatusAccessor
getConnectionStatus, isConnectionOpened
-
Methods inherited from interface org.refcodes.component.Flushable
flush, flushUnchecked, isFlushable
-
Methods inherited from interface org.refcodes.io.Receivable
hasDatagram
-
-