public static class ZMQ.CancellationToken extends Object
ZMQ.Socket.createCancellationToken().| Modifier and Type | Field and Description |
|---|---|
protected AtomicBoolean |
canceled |
| Modifier | Constructor and Description |
|---|---|
protected |
CancellationToken(SocketBase socket) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel a pending the send/receive operation.
|
boolean |
isCancellationRequested() |
void |
reset()
Reset the cancellation token in order to reuse the token with another send/receive call.
|
protected AtomicBoolean canceled
protected CancellationToken(SocketBase socket)
Copyright © 2022. All rights reserved.