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 theDatagramTransmitter
andDatagramReceiver
functionality in a single interface to be implemented by a single class so thatDatagramTransmitter
andDatagramReceiver
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
-
-
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.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
-
-