AbstractByteReceiver
is a base abstract implementation of the
ByteReceiver
interface providing common functionality for concrete
real live ByteDatagramReceiver
and ByteBlockReceiver
(=
ByteReceiver
) implementations.AbstractByteReceiver
with a default sized blocking
queue enabling a maximum of AbstractByteReceiver.DATAGRAM_QUEUE_SIZE
datagrams.
-------------------------------------------------------------------------
Make sure your code fetches the datagrams quick enough to prevent filling
up of the queue.AbstractByteReceiver
with a custom sized
blocking queue enabling a maximum of datagrams as specified by the
capacity parameter.
-------------------------------------------------------------------------
Make sure your code fetches the datagrams quick enough to prevent filling
up of the queue.AbstractByteSender
is a base abstract implementation of the
ByteSender
interface providing common functionality for concrete real
live ByteDatagramSender
and ByteBlockSender
(=
ByteSender
) implementations.ByteReceiver
interface.Receiver
interface.ByteReceiver
interface.AbstractInputStreamDatagramReceiver
.AbstractInputStreamDatagramReceiver
using the given
ExecutorService
required for thread generation in an JEE
environment.AbstractInputStreamDatagramReceiver
using the given
datagram queue capacity.AbstractInputStreamDatagramReceiver
using the given
ExecutorService
required for thread generation in an JEE
environment.Receiver
interface.AbstractInputStreamDatagramReceiver
.AbstractInputStreamDatagramReceiver
using the given
ExecutorService
required for thread generation in an JEE
environment.AbstractInputStreamDatagramReceiver
using the given
datagram queue capacity.AbstractInputStreamDatagramReceiver
using the given
ExecutorService
required for thread generation in an JEE
environment.AbstractReceiver
is a base abstract implementation of the
Receiver
interface providing common functionality for concrete real
live ByteDatagramReceiver
and ByteBlockReceiver
(=
Receiver
) implementations.AbstractReceiver
with a default sized blocking queue
enabling a maximum of AbstractReceiver.DATAGRAM_QUEUE_SIZE
datagrams.
-------------------------------------------------------------------------
Make sure your code fetches the datagrams quick enough to prevent filling
up of the queue.AbstractReceiver
with a custom sized blocking queue
enabling a maximum of datagrams as specified by the capacity parameter.
-------------------------------------------------------------------------
Make sure your code fetches the datagrams quick enough to prevent filling
up of the queue.AbstractSender
is a base abstract implementation of the
ByteSender
interface providing common functionality for concrete real
live ByteDatagramSender
and ByteBlockSender
(=
ByteSender
) implementations.BidirectionalConnectionByteTransceiver
defines the DatagramTransceiver
functionality set on top of a I/O connection (as of the
BidirectionalConnectionComponent.BidirectionalConnectionAutomaton
).BidirectionalConnectionTransceiver
defines the DatagramTransceiver
functionality set on top of a I/O connection (as of the
BidirectionalConnectionComponent.BidirectionalConnectionAutomaton
).BidirectionalStreamConnectionByteTransceiver
is a DatagramTransceiver
connected
through I/O streams with another BidirectionalStreamConnectionByteTransceiver
.BidirectionalStreamConnectionTransceiver
is a
DatagramTransceiver
connected through I/O streams with another
BidirectionalStreamConnectionTransceiver
.BlockReceiver
is used to receive datagram blocks (arrays) in a
unified way.BlockSender
is used to send datagram blocks (arrays) in a unified
way.BlockSender
and BlockReceiver
functionality in a single interface to be implemented by a single class so
that BlockSender
and BlockReceiver
functionality can
be provided by a single instance.ByteBlockReceiver
is used to receive byte blocks (arrays) in a
unified way.ByteBlockSender
is used to send byte blocks (arrays) in a unified
way.BlockSender
and BlockReceiver
functionality in a
single interface to be implemented by a single class so that
BlockSender
and BlockReceiver
functionality can be provided
by a single instance.InputStream
does not provide some useful *interface*)OutputStream
does not provide some useful *interface*)ByteDatagramReceiver
is used to receive bytes in a unified way.ByteDatagramSender
is used to send bytes in a unified way.DatagramSender
and DatagramReceiver
functionality in a single interface to be implemented by a single class so
that DatagramSender
and DatagramReceiver
functionality can be
provided by a single instance.ConnectionByteReceiver
defines the DatagramReceiver
functionality set
on top of a connection (as of the ConnectionComponent.ConnectionAutomaton
).ConnectionByteSender
defines the DatagramSender
functionality set on
top of a connection (as of the ConnectionComponent.ConnectionAutomaton
).ConnectionByteTransceiver
defines the DatagramTransceiver
functionality set on top of a connection (as of the
ConnectionComponent.ConnectionAutomaton
).ConnectionReceiver
defines the DatagramReceiver
functionality set
on top of a connection (as of the ConnectionComponent.ConnectionAutomaton
).ConnectionSender
defines the DatagramSender
functionality set on
top of a connection (as of the ConnectionComponent.ConnectionAutomaton
).ConnectionTransceiver
defines the DatagramTransceiver
functionality set on top of a connection (as of the
ConnectionComponent.ConnectionAutomaton
).DatagramReceiver
is used to receive datagrams in a unified way.DatagramSender
is used to send datagrams in a unified way.DatagramSender
and DatagramReceiver
functionality in a single interface to be implemented by a single class so
that DatagramSender
and DatagramReceiver
functionality can be
provided by a single instance.FileUtility
provides Various file related utility functionality.InputStream
for a resource found at the given path
relative to the given class file (which might be inside a Java archive
such as a JAR file or a WAR file).DatagramSender
and can
be retrieved via the #readDatagram()
method.InputStreamConnectionByteReceiver
is a DatagramReceiver
connected through I/O
streams with a OutputStreamConnectionSender
.InputStreamConnectionReceiver
interface.InputStreamConnectionReceiver
is a DatagramReceiver
connected through I/O
streams with a OutputStreamConnectionSender
.InputStreamConnectionReceiver
interface.LoopbackConnectionReceiver
is a DatagramReceiver
connected directly within
the same JVM with a LoopbackConnectionSender
; a "loopback" connection is used
for establishing the connection which cannot be accessed outside the JVM or
the running machine.LoopbackConnectionSender
is a DatagramSender
connected directly within the
same JVM with a LoopbackConnectionReceiver
; a "loopback" connection is used for
establishing the connection which cannot be accessed outside the JVM or the
running machine.LoopbackConnectionTransceiver
is a DatagramTransceiver
connected directly
within the same JVM with another LoopbackConnectionTransceiver
; a "loopback"
connection is used for establishing the connection which cannot be accessed
outside the JVM or the running machine.LoopbackConnectionReceiver
interface.ObjectOutputStream
(via ObjectOutputStream.flush()
)
encapsulating a PipedOutputStream
which in turn encapsulates a
PipedInputStream
to this BidirectionalStreamConnectionByteTransceiverImpl.open(OutputStream)
method.ObjectOutputStream
(via ObjectOutputStream.flush()
)
encapsulating a PipedOutputStream
which in turn encapsulates a
PipedInputStream
to this BidirectionalStreamConnectionByteTransceiverImpl.open(OutputStream)
method.ObjectOutputStream
(via ObjectOutputStream.flush()
)
encapsulating a PipedOutputStream
which in turn encapsulates a
PipedInputStream
to this BidirectionalStreamConnectionTransceiverImpl.open(OutputStream)
method.ObjectOutputStream
(via ObjectOutputStream.flush()
)
encapsulating a PipedOutputStream
which in turn encapsulates a
PipedInputStream
to this BidirectionalStreamConnectionTransceiverImpl.open(OutputStream)
method.ObjectOutputStream
(via ObjectOutputStream.flush()
)
encapsulating a PipedOutputStream
which in turn encapsulates a
PipedInputStream
to this OutputStreamConnectionByteSenderImpl.open(OutputStream)
method.ObjectOutputStream
(via ObjectOutputStream.flush()
)
encapsulating a PipedOutputStream
which in turn encapsulates a
PipedInputStream
to this OutputStreamConnectionSenderImpl.open(OutputStream)
method.ObjectOutputStream
(via ObjectOutputStream.flush()
)
encapsulating a PipedOutputStream
which in turn encapsulates a
PipedInputStream
to this PrefetchBidirectionalStreamConnectionByteTransceiverImpl.open(OutputStream)
method.ObjectOutputStream
(via ObjectOutputStream.flush()
)
encapsulating a PipedOutputStream
which in turn encapsulates a
PipedInputStream
to this PrefetchBidirectionalStreamConnectionByteTransceiverImpl.open(OutputStream)
method.ObjectOutputStream
(via ObjectOutputStream.flush()
)
encapsulating a PipedOutputStream
which in turn encapsulates a
PipedInputStream
to this PrefetchBidirectionalStreamConnectionTransceiverImpl.open(OutputStream)
method.ObjectOutputStream
(via ObjectOutputStream.flush()
)
encapsulating a PipedOutputStream
which in turn encapsulates a
PipedInputStream
to this PrefetchBidirectionalStreamConnectionTransceiverImpl.open(OutputStream)
method.OutputStreamConnectionByteSender
is a DatagramSender
connected through I/O
streams with a InputStreamConnectionReceiver
.OutputStreamConnectionSender
interface.OutputStreamConnectionSender
is a DatagramSender
connected through I/O
streams with a InputStreamConnectionReceiver
.OutputStreamConnectionSender
interface.InputStreamConnectionReceiver
interface.InputStreamConnectionReceiver
interface.LoopbackConnectionReceiver
.LoopbackConnectionReceiver
.DatagramSender
counterpart.DatagramSender
counterpart.BlockSender
or DatagramSender
counterpart.BlockSender
or DatagramSender
counterpart.Iterator
serializable, else passing
Iterator
instances would cause an NotSerializableException
or
similar.ListIterator
serializable, else passing
ListIterator
instances would cause an
NotSerializableException
or similar.SerializableObjectInputStreamImpl
extends an ordinary
ObjectInputStream
to also resolve primitive types.InputStream
from the provided File
.OutputStream
to the provided File
.Iterator
and ListIterator
into serializable instances.DatagramReceiver
.DatagramReceiver
.OutputStreamConnectionSenderImpl.writeDatagram(Serializable)
.DatagramReceiver
.DatagramReceiver
.DatagramReceiver
.OutputStreamConnectionSenderImpl.writeDatagram(Serializable)
OutputStreamConnectionSenderImpl.writeDatagram(Serializable)
DatagramReceiver
or
BlockReceiver
.DatagramReceiver
or
BlockReceiver
.InputStream
from a provided File
: In case the
file points to a ZIP compressed file, then the uncompressed data of the
therein contained file with the same name excluding the ".zip" extension is
provided by the InputStream
.OutputStream
to a provided File
: In case the
file points to a ZIP compressed file, then a therein to be contained file
with the same name excluding the ".zip" extension is created by the
OutputStream
.Copyright © 2016. All rights reserved.