DATA - The type of the datagram to be operated with. In case you wish
to use array types, you might better use the BlockSender type.BidirectionalConnectionTransceiver<DATA,INPUT,OUTPUT>, BidirectionalStreamConnectionTransceiver<DATA>, ConnectionSender<DATA,CON>, ConnectionTransceiver<DATA,CON>, Consumer<DATA>, DatagramSender<DATA>, DatagramTransceiver<DATA>, LoopbackSender<DATA>, LoopbackTransceiver<DATA>, OutputStreamConnectionSender<DATA>, Sender<DATA>, Transceiver<DATA>AbstractSender, BidirectionalStreamConnectionTransceiverImpl, BidirectionalStreamTransceiverImpl, LoopbackSenderImpl, LoopbackTransceiverImpl, OutputStreamConnectionSenderImpl, OutputStreamSenderImpl, PrefetchBidirectionalStreamConnectionTransceiverImpl, PrefetchBidirectionalStreamTransceiverImpl, SenderDecorator@FunctionalInterface public interface DatagramConsumer<DATA extends Serializable>
DatagramConsumer is used to send datagrams in a unified way.| Modifier and Type | Method | Description |
|---|---|---|
void |
writeDatagram(DATA aDatagram) |
Writes (sends) a datagram to a listening
DatagramReceiver. |
void writeDatagram(DATA aDatagram) throws org.refcodes.component.OpenException
DatagramReceiver.aDatagram - The datagram to be pushed to the receiving
DatagramConsumer.org.refcodes.component.OpenException - Thrown in case opening or accessing an open line
(connection, junction, link) caused problems.Copyright © 2018. All rights reserved.