public static interface AisPacketStream.Subscription
| Modifier and Type | Method and Description |
|---|---|
void |
awaitCancelled()
Await cancelled.
|
boolean |
awaitCancelled(long timeout,
TimeUnit unit)
Await cancelled boolean.
|
void |
cancel()
Cancels this subscription.
|
boolean |
isCancelled()
Returns whether or not the subscription has been cancelled.
|
void awaitCancelled()
throws InterruptedException
InterruptedException - the interrupted exceptionboolean awaitCancelled(long timeout,
TimeUnit unit)
throws InterruptedException
timeout - the timeoutunit - the unitInterruptedException - the interrupted exceptionvoid cancel()
boolean isCancelled()
Copyright © 2011–2019 Danish Maritime Authority. All rights reserved.