ByteSource
, BytesSource
, ByteTransmitter
, 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
, org.refcodes.mixin.OutputStreamAccessor
, Transmittable
BidirectionalConnectionByteTransceiver<INPUT,OUTPUT>
, BidirectionalStreamConnectionByteTransceiver
, BytesTransceiver
, ConnectionBytesTransceiver<CON>
, ConnectionBytesTransmitter<CON>
AbstractBytesTransmitter
, BidirectionalStreamByteTransceiver
, BidirectionalStreamConnectionByteTransceiverImpl
, ByteTransmitterDecorator
, LoopbackBytesTransceiver
, LoopbackBytesTransmitter
, OutputStreamBytesTransmitter
, OutputStreamConnectionBytesTransmitter
, PrefetchBidirectionalStreamByteTransceiver
, PrefetchBidirectionalStreamConnectionByteTransceiver
public interface BytesTransmitter extends BytesSource, ByteTransmitter, org.refcodes.mixin.OutputStreamAccessor
Modifier and Type | Interface | Description |
---|---|---|
static class |
BytesTransmitter.TransmitterOutputStream |
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
org.refcodes.component.Flushable.FlushBuilder<B extends org.refcodes.component.Flushable.FlushBuilder<B>>
org.refcodes.component.OpenedAccessor.OpenedMutator, org.refcodes.component.OpenedAccessor.OpenedProperty
org.refcodes.mixin.OutputStreamAccessor.OutputStreamBuilder<B extends org.refcodes.mixin.OutputStreamAccessor.OutputStreamBuilder<?>>, org.refcodes.mixin.OutputStreamAccessor.OutputStreamMutator, org.refcodes.mixin.OutputStreamAccessor.OutputStreamProperty
Modifier and Type | Method | Description |
---|---|---|
default OutputStream |
getOutputStream() |
|
default void |
transmitBytes(byte[] aBytes,
int aOffset,
int aLength) |
Writes (sends) a byte block.
|
transmitAllBytes, transmitByte
flush
close, closeIn, closeQuietly, closeUnchecked
default void transmitBytes(byte[] aBytes, int aOffset, int aLength) throws IOException
transmitBytes
in interface BytesSource
aBytes
- 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.IOException
- Thrown in case opening or accessing an open line
(connection, junction, link) caused problems.default OutputStream getOutputStream()
getOutputStream
in interface org.refcodes.mixin.OutputStreamAccessor
Copyright © 2021. All rights reserved.