Module org.refcodes.io
Package org.refcodes.io
Interface BidirectionalStreamConnectionTransceiver<DATA extends Serializable>
- Type Parameters:
DATA
- The type of the datagram to be operated with.
- All Superinterfaces:
Availability
,org.refcodes.component.BidirectionalConnectionComponent<InputStream,
,OutputStream> org.refcodes.component.BidirectionalConnectionComponent.BidirectionalConnectionAutomaton<InputStream,
,OutputStream> org.refcodes.component.BidirectionalConnectionOpenable<InputStream,
,OutputStream> org.refcodes.component.BidirectionalConnectionOpenable.BidirectionalConnectionOpenAutomaton<InputStream,
,OutputStream> BidirectionalConnectionTransceiver<DATA,
,InputStream, OutputStream> 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
,DatagramDestination<DATA>
,DatagramReceiver<DATA>
,DatagramsDestination<DATA>
,DatagramSource<DATA>
,DatagramsReceiver<DATA>
,DatagramsSource<DATA>
,DatagramsTransceiver<DATA>
,DatagramsTransmitter<DATA>
,DatagramTransceiver<DATA>
,DatagramTransmitter<DATA>
,Flushable
,org.refcodes.component.Flushable
,org.refcodes.component.OpenedAccessor
,Receivable
,Transmittable
- All Known Implementing Classes:
BidirectionalStreamConnectionTransceiverImpl
,PrefetchBidirectionalStreamConnectionTransceiver
public interface BidirectionalStreamConnectionTransceiver<DATA extends Serializable>
extends BidirectionalConnectionTransceiver<DATA,InputStream,OutputStream>
A
BidirectionalStreamConnectionTransceiver
is a
DatagramTransceiver
connected through I/O streams with another
BidirectionalStreamConnectionTransceiver
. A Socket
or a
ServerSocket
may 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 Object,
OUTPUT extends Object> Nested classes/interfaces inherited from interface org.refcodes.component.BidirectionalConnectionOpenable
org.refcodes.component.BidirectionalConnectionOpenable.BidirectionalConnectionOpenAutomaton<INPUT extends Object,
OUTPUT extends 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
Nested classes/interfaces inherited from interface org.refcodes.component.Flushable
org.refcodes.component.Flushable.FlushBuilder<B extends org.refcodes.component.Flushable.FlushBuilder<B>>
Nested classes/interfaces inherited from interface org.refcodes.component.OpenedAccessor
org.refcodes.component.OpenedAccessor.OpenedMutator, org.refcodes.component.OpenedAccessor.OpenedProperty
-
Method Summary
Methods inherited from interface org.refcodes.io.Availability
available, hasAvailable
Methods inherited from interface org.refcodes.component.BidirectionalConnectionOpenable
open
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.Closable.CloseAutomaton
isClosable
Methods inherited from interface org.refcodes.component.ClosedAccessor
isClosed
Methods inherited from interface org.refcodes.component.ConnectionStatusAccessor
getConnectionStatus, isOpened
Methods inherited from interface org.refcodes.io.DatagramsDestination
receive, receive
Methods inherited from interface org.refcodes.io.DatagramsReceiver
receive, receiveAll
Methods inherited from interface org.refcodes.io.DatagramsSource
transmit, transmitAll
Methods inherited from interface org.refcodes.io.DatagramsTransmitter
transmit
Methods inherited from interface org.refcodes.io.DatagramTransmitter
flush
Methods inherited from interface org.refcodes.component.Flushable
flushUnchecked, isFlushable