T - the type parameterpublic abstract static class AisPacketStream.StreamConsumer<T> extends Object implements Consumer<T>
| Constructor and Description |
|---|
StreamConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Invoked immediately before the first message is delivered.
|
void |
end(Throwable cause)
Invoked immediately after the last message has been delivered.
|
public void begin()
public void end(Throwable cause)
cause - if an exception caused the consumer to be unsubscribedCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.