Package org.refcodes.io
Interface ConnectionSender<DATA extends java.io.Serializable,CON>
-
- Type Parameters:
DATA- The type of the datagram to be operated with.CON- The type of the connection to be used.
- All Superinterfaces:
BlockConsumer<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.ConnectionComponent<DATA>,org.refcodes.component.ConnectionComponent.ConnectionAutomaton<CON>,org.refcodes.component.ConnectionOpenable<DATA>,org.refcodes.component.ConnectionOpenable.ConnectionOpenAutomaton<DATA>,org.refcodes.component.ConnectionStatusAccessor,Consumer<DATA>,DatagramConsumer<DATA>,DatagramSender<DATA>,java.io.Flushable,org.refcodes.component.Flushable,org.refcodes.component.OpenedAccessor,Sendable,Sender<DATA>
- All Known Subinterfaces:
ConnectionTransceiver<DATA,CON>,LoopbackSender<DATA>,LoopbackTransceiver<DATA>,OutputStreamConnectionSender<DATA>
- All Known Implementing Classes:
LoopbackSenderImpl,LoopbackTransceiverImpl,OutputStreamConnectionSenderImpl
public interface ConnectionSender<DATA extends java.io.Serializable,CON> extends Sender<DATA>, org.refcodes.component.ConnectionComponent.ConnectionAutomaton<CON>
TheConnectionSenderdefines theDatagramSenderfunctionality set on top of a connection (as of theConnectionComponent.ConnectionAutomaton).
-
-
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.ConnectionComponent
org.refcodes.component.ConnectionComponent.ConnectionAutomaton<CON extends java.lang.Object>, org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON extends java.lang.Object,B extends org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON,B>>
-
Nested classes/interfaces inherited from interface org.refcodes.component.ConnectionOpenable
org.refcodes.component.ConnectionOpenable.ConnectionOpenAutomaton<CON extends java.lang.Object>, org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON extends java.lang.Object,B extends org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON,B>>
-
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.component.Closable
close, closeIn, closeQuietly, closeUnchecked
-
Methods inherited from interface org.refcodes.component.ConnectionOpenable.ConnectionOpenAutomaton
isOpenable
-
Methods inherited from interface org.refcodes.component.ConnectionStatusAccessor
getConnectionStatus, isConnectionOpened
-
Methods inherited from interface org.refcodes.io.Consumer
writeDatagram, writeDatagrams
-
Methods inherited from interface org.refcodes.io.Sender
flush, writeDatagrams
-
-