Package org.refcodes.io
Interface BidirectionalStreamConnectionTransceiver<DATA extends java.io.Serializable>
-
- Type Parameters:
DATA- The type of the datagram to be operated with.
- All Superinterfaces:
org.refcodes.component.BidirectionalConnectionComponent<DATA,INPUT>,org.refcodes.component.BidirectionalConnectionComponent.BidirectionalConnectionAutomaton<INPUT,OUTPUT>,org.refcodes.component.BidirectionalConnectionOpenable<DATA,INPUT>,org.refcodes.component.BidirectionalConnectionOpenable.BidirectionalConnectionOpenAutomaton<DATA,INPUT>,BidirectionalConnectionTransceiver<DATA,java.io.InputStream,java.io.OutputStream>,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,Consumer<DATA>,DatagramConsumer<DATA>,DatagramProvider<DATA>,DatagramReceiver<DATA>,DatagramSender<DATA>,DatagramTransceiver<DATA>,java.io.Flushable,org.refcodes.component.Flushable,org.refcodes.component.OpenedAccessor,Provider<DATA>,Receivable,Receiver<DATA>,org.refcodes.mixin.Releaseable,Sendable,Sender<DATA>,Transceiver<DATA>
- All Known Implementing Classes:
BidirectionalStreamConnectionTransceiverImpl,PrefetchBidirectionalStreamConnectionTransceiverImpl
public interface BidirectionalStreamConnectionTransceiver<DATA extends java.io.Serializable> extends BidirectionalConnectionTransceiver<DATA,java.io.InputStream,java.io.OutputStream>
ABidirectionalStreamConnectionTransceiveris aDatagramTransceiverconnected through I/O streams with anotherBidirectionalStreamConnectionTransceiver. ASocketor aServerSocketmay be used to retrieve the according I/O streams.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.component.BidirectionalConnectionComponent
org.refcodes.component.BidirectionalConnectionComponent.BidirectionalConnectionAutomaton<INPUT extends java.lang.Object,OUTPUT extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.component.BidirectionalConnectionOpenable
org.refcodes.component.BidirectionalConnectionOpenable.BidirectionalConnectionOpenAutomaton<INPUT extends java.lang.Object,OUTPUT extends java.lang.Object>
-
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.component.BidirectionalConnectionOpenable.BidirectionalConnectionOpenAutomaton
isOpenable
-
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.io.Consumer
writeDatagram, writeDatagrams
-
Methods inherited from interface org.refcodes.io.DatagramProvider
readDatagram
-
Methods inherited from interface org.refcodes.io.Receivable
hasDatagram
-
Methods inherited from interface org.refcodes.io.Receiver
readDatagrams, readDatagrams
-
Methods inherited from interface org.refcodes.io.Sender
flush, writeDatagrams
-
-