Package org.refcodes.io
Interface DatagramTransceiver<DATA extends java.io.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 theBlockTransceiver
type.
- All Superinterfaces:
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
,DatagramConsumer<DATA>
,DatagramProvider<DATA>
,DatagramReceiver<DATA>
,DatagramSender<DATA>
,java.io.Flushable
,org.refcodes.component.Flushable
,org.refcodes.component.OpenedAccessor
,Receivable
,org.refcodes.mixin.Releaseable
,Sendable
- All Known Subinterfaces:
BidirectionalConnectionTransceiver<DATA,INPUT,OUTPUT>
,BidirectionalStreamConnectionTransceiver<DATA>
,ConnectionTransceiver<DATA,CON>
,LoopbackTransceiver<DATA>
,Transceiver<DATA>
- All Known Implementing Classes:
BidirectionalStreamConnectionTransceiverImpl
,BidirectionalStreamTransceiverImpl
,LoopbackTransceiverImpl
,PrefetchBidirectionalStreamConnectionTransceiverImpl
,PrefetchBidirectionalStreamTransceiverImpl
public interface DatagramTransceiver<DATA extends java.io.Serializable> extends DatagramSender<DATA>, DatagramReceiver<DATA>
Combines theDatagramSender
andDatagramReceiver
functionality in a single interface to be implemented by a single class so thatDatagramSender
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.component.Closable
close, closeIn, closeQuietly, closeUnchecked
-
Methods inherited from interface org.refcodes.component.ConnectionStatusAccessor
getConnectionStatus, isConnectionOpened
-
Methods inherited from interface org.refcodes.io.DatagramConsumer
writeDatagram
-
Methods inherited from interface org.refcodes.io.DatagramProvider
readDatagram
-
Methods inherited from interface org.refcodes.component.Flushable
flush, flushUnchecked, isFlushable
-
Methods inherited from interface org.refcodes.io.Receivable
hasDatagram
-
-