public abstract class AbstractStreamTransport extends AbstractSelfDisconnectTransport
| Modifier and Type | Field and Description |
|---|---|
protected FASTChannelFactory |
fastChannelFactory |
static int |
KBYTE |
protected static int |
SOCKET_RECEIVE_BUFFER_SIZE |
connectCount, transportTypelistenerObservers, log| Modifier | Constructor and Description |
|---|---|
protected |
AbstractStreamTransport(FASTChannelFactory fastChannelFactory,
TransportType transportType) |
protected |
AbstractStreamTransport(InputStream templateInputStream,
TransportType transportType) |
| Modifier and Type | Method and Description |
|---|---|
protected IFASTChannel |
connectImpl(Connection connection,
TransportType transportType) |
void |
dispose()
Dispose the transport.
|
addConnectRef, connect, connectImpl, disconnect, disconnectImpl, getTotalConnectRefs, isConnect, releaseConnectRefremoveMessageStreamListener, setMessageStreamListenerpublic static final int KBYTE
protected static final int SOCKET_RECEIVE_BUFFER_SIZE
protected FASTChannelFactory fastChannelFactory
protected AbstractStreamTransport(InputStream templateInputStream, TransportType transportType)
protected AbstractStreamTransport(FASTChannelFactory fastChannelFactory, TransportType transportType)
protected IFASTChannel connectImpl(Connection connection, TransportType transportType) throws IOException
IOExceptionpublic void dispose()
throws IOException
StreamTransportThis methods disconnect from stream and cleans all subscribed listeners.
dispose in interface StreamTransportdispose in class AbstractSelfDisconnectTransportIOException - if error occurredCopyright © 2000–2025 EPAM Systems. All rights reserved.