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
, ShortSource
, ShortsSource
, ShortTransmitter
, Transmittable
ConnectionShortsTransceiver<CON>
, ConnectionShortsTransmitter<CON>
, ShortsTransceiver
AbstractShortsTransmitter
, LoopbackShortsTransceiver
, LoopbackShortsTransmitter
, OutputStreamConnectionShortsTransmitter
, OutputStreamShortsTransmitter
, ShortTransmitterDecorator
public interface ShortsTransmitter extends ShortsSource, ShortTransmitter
ShortsTransmitter
is used to send short blocks (arrays) in a
unified way.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 |
transmitShorts(short[] aShorts,
int aOffset,
int aLength) |
Writes (sends) a short block.
|
close, closeIn, closeQuietly, closeUnchecked
getConnectionStatus, isOpened
transmitAllShorts, transmitShort
flush
default void transmitShorts(short[] aShorts, int aOffset, int aLength) throws IOException
transmitShorts
in interface ShortsSource
aShorts
- The short 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.Copyright © 2021. All rights reserved.