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, org.refcodes.component.OpenedAccessor, ByteArrayReceiver, ByteBlockProvider, ByteBlockReceiver, ByteDatagramProvider, ByteDatagramReceiver, ByteProvider, ByteReceiver, Receivable, org.refcodes.mixin.Releaseable, org.refcodes.structure.ByteArrayAccessorpublic class ByteArrayReceiverImpl extends AbstractByteReceiver implements ByteArrayReceiver
AbstractByteReceiver.ConnectableAutomatonorg.refcodes.structure.ByteArrayAccessor.ByteArrayBuilder<B extends org.refcodes.structure.ByteArrayAccessor.ByteArrayBuilder<B>>, org.refcodes.structure.ByteArrayAccessor.ByteArrayMutator, org.refcodes.structure.ByteArrayAccessor.ByteArrayPropertyorg.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.ClosedPropertyorg.refcodes.component.ConnectableComponent.ConnectableAutomaton_datagramQueue, DATAGRAM_QUEUE_SIZE_automaton| Constructor | Description |
|---|---|
ByteArrayReceiverImpl(byte[] aDatagrams) |
Instantiates a new byte array receiver impl.
|
ByteArrayReceiverImpl(List<Byte> aDatagrams) |
Instantiates a new byte array receiver impl.
|
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
getBytes() |
Provides access to the remaining backing byte array.
|
pushDatagram, pushDatagrams, pushDatagramsclose, getConnectionStatus, hasDatagram, isClosable, isClosed, isOpenable, isOpened, open, readDatagram, readDatagrams, readDatagrams, releaseAll, setConnectionStatusreadDatagramreadDatagrams, readDatagramsclose, closeIn, closeQuietly, closeUncheckedgetConnectionStatus, isConnectionOpenedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasDatagrampublic ByteArrayReceiverImpl(byte[] aDatagrams)
aDatagrams - the datagramspublic byte[] getBytes()
ByteDatagramProvider.readDatagram() or ByteReceiver.readDatagrams(int)
are not contained in the returned array.getBytes in interface org.refcodes.structure.ByteArrayAccessorgetBytes in interface ByteArrayReceiverCopyright © 2018. All rights reserved.