Package org.refcodes.io
Interface BlockSender<DATA extends java.io.Serializable>
-
- Type Parameters:
DATA- The type of the datagram block (array) to be operated with. Do not provide an array type as the methods use to generic type for defining an array argument.
- All Superinterfaces:
BlockConsumer<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,Sendable
- All Known Subinterfaces:
BidirectionalConnectionTransceiver<DATA,INPUT,OUTPUT>,BidirectionalStreamConnectionTransceiver<DATA>,BlockTransceiver<DATA>,ConnectionSender<DATA,CON>,ConnectionTransceiver<DATA,CON>,LoopbackSender<DATA>,LoopbackTransceiver<DATA>,OutputStreamConnectionSender<DATA>,Sender<DATA>,Transceiver<DATA>
- All Known Implementing Classes:
AbstractSender,BidirectionalStreamConnectionTransceiverImpl,BidirectionalStreamTransceiverImpl,LoopbackSenderImpl,LoopbackTransceiverImpl,OutputStreamConnectionSenderImpl,OutputStreamSenderImpl,PrefetchBidirectionalStreamConnectionTransceiverImpl,PrefetchBidirectionalStreamTransceiverImpl,SenderDecorator
public interface BlockSender<DATA extends java.io.Serializable> extends BlockConsumer<DATA>, Sendable
TheBlockSenderis used to send datagram blocks (arrays) in a unified way.
-
-
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.component.Closable
close, closeIn, closeQuietly, closeUnchecked
-
Methods inherited from interface org.refcodes.component.ConnectionStatusAccessor
getConnectionStatus, isConnectionOpened
-
-