Module org.refcodes.io
Package org.refcodes.io
Interface DatagramTransceiver<DATA extends Serializable>
- Type Parameters:
DATA
- The type of the datagram to be operated with. In case you wish to use array types, you might better use theDatagramsTransceiver
type.
- All Superinterfaces:
Availability
,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>
,DatagramSource<DATA>
,DatagramTransmitter<DATA>
,Flushable
,org.refcodes.component.Flushable
,org.refcodes.component.OpenedAccessor
,Receivable
,Transmittable
- All Known Subinterfaces:
BidirectionalConnectionTransceiver<DATA,
,INPUT, OUTPUT> BidirectionalStreamConnectionTransceiver<DATA>
,ConnectionDatagramsTransceiver<DATA,
,CON> DatagramsTransceiver<DATA>
- All Known Implementing Classes:
BidirectionalStreamConnectionTransceiverImpl
,BidirectionalStreamTransceiver
,LoopbackDatagramsTransceiver
,PrefetchBidirectionalStreamConnectionTransceiver
,PrefetchBidirectionalStreamTransceiver
public interface DatagramTransceiver<DATA extends Serializable>
extends DatagramTransmitter<DATA>, DatagramReceiver<DATA>
Combines the
DatagramTransmitter
and DatagramReceiver
functionality in a single interface to be implemented by a single class so
that DatagramTransmitter
and DatagramReceiver
functionality
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
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.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.DatagramDestination
receive
Methods inherited from interface org.refcodes.io.DatagramSource
transmit
Methods inherited from interface org.refcodes.io.DatagramTransmitter
flush
Methods inherited from interface org.refcodes.component.Flushable
flushUnchecked, isFlushable