@ThreadSafe public class StreamReaderProvider extends AisReaderProvider
blockingfilters, packetTransformers, status, THREAD_STOP_WAIT_MAX| Constructor and Description |
|---|
StreamReaderProvider(boolean blocking)
Instantiates a new Stream reader provider.
|
StreamReaderProvider(InputStream stream)
Instantiates a new Stream reader provider.
|
StreamReaderProvider(InputStream stream,
boolean blocking)
Instantiates a new Stream reader provider.
|
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Initialize the component after configuration.
|
protected void |
setStream(InputStream stream)
Sets stream.
|
accept, cancel, setAisReader, startpushgetAisBus, getDescription, getName, setAisBus, setDescription, setNamegetFilters, getPacketTransformers, getStatus, getThread, handleReceived, rateReport, setConnected, setNotConnected, setStopped, setThread, toStringpublic StreamReaderProvider(boolean blocking)
blocking - the blockingpublic StreamReaderProvider(InputStream stream, boolean blocking)
stream - the streamblocking - the blockingpublic StreamReaderProvider(InputStream stream)
stream - the streamprotected void setStream(InputStream stream)
stream - the streampublic void init()
AisBusComponentinit in class AisBusProviderCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.