ByteBlockConsumer
, ByteBlockSender
, ByteConsumer
, ByteDatagramConsumer
, ByteDatagramSender
, 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
, Flushable
, org.refcodes.component.Flushable
, org.refcodes.component.OpenedAccessor
, Sendable
BidirectionalConnectionByteTransceiver<INPUT,OUTPUT>
, BidirectionalStreamConnectionByteTransceiver
, ByteTransceiver
, ConnectionByteSender<CON>
, ConnectionByteTransceiver<CON>
, LoopbackByteSender
, LoopbackByteTransceiver
, OutputStreamConnectionByteSender
AbstractByteSender
, BidirectionalStreamByteTransceiverImpl
, BidirectionalStreamConnectionByteTransceiverImpl
, ByteSenderDecorator
, LoopbackByteSenderImpl
, LoopbackByteTransceiverImpl
, OutputStreamByteSenderImpl
, OutputStreamConnectionByteSenderImpl
, PrefetchBidirectionalStreamByteTransceiverImpl
, PrefetchBidirectionalStreamConnectionByteTransceiverImpl
public interface ByteSender extends ByteConsumer, ByteDatagramSender, ByteBlockSender
org.refcodes.component.Closable.CloseAutomaton, org.refcodes.component.Closable.CloseBuilder<B extends org.refcodes.component.Closable.CloseBuilder<B>>
org.refcodes.component.ClosedAccessor.ClosedMutator, org.refcodes.component.ClosedAccessor.ClosedProperty
org.refcodes.component.ConnectableComponent.ConnectableAutomaton
org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusMutator, org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusProperty
Modifier and Type | Method | Description |
---|---|---|
default void |
flush() |
|
default void |
writeDatagrams(byte[] aDatagrams,
int aOffset,
int aLength) |
Writes (sends) a byte block.
|
writeDatagram, writeDatagrams
close, closeIn, closeQuietly, closeUnchecked
default void writeDatagrams(byte[] aDatagrams, int aOffset, int aLength) throws org.refcodes.component.OpenException
writeDatagrams
in interface ByteBlockConsumer
aDatagrams
- The byte to be pushed.aOffset
- The offset from which to take the data.aLength
- The number of elements to push starting at the given
offset.org.refcodes.component.OpenException
- Thrown in case opening or accessing an open line
(connection, junction, link) caused problems.Copyright © 2018. All rights reserved.