Package | Description |
---|---|
com.ibm.mqlight.api.callback | |
com.ibm.mqlight.api.endpoint | |
com.ibm.mqlight.api.network | |
com.ibm.mqlight.api.timer |
Modifier and Type | Method and Description |
---|---|
void |
CallbackService.run(Runnable runnable,
Object orderingCtx,
Promise<Void> promise)
Run the specified runnable.
|
Modifier and Type | Interface and Description |
---|---|
interface |
EndpointPromise
A promise that is used to indicate the outcome of an endpoint lookup
operation.
|
Modifier and Type | Method and Description |
---|---|
void |
NetworkChannel.close(Promise<Void> promise)
Close the connection.
|
void |
NetworkService.connect(Endpoint endpoint,
NetworkListener listener,
Promise<NetworkChannel> promise)
Establish a network connection.
|
void |
NetworkChannel.write(ByteBuffer buffer,
Promise<Boolean> promise)
Write data to the network connection.
|
Modifier and Type | Method and Description |
---|---|
void |
TimerService.cancel(Promise<Void> promise)
Cancels a previously scheduled promise (e.g.
|
void |
TimerService.schedule(long delay,
Promise<Void> promise)
Schedules a timer that will "pop" at some point in the future.
|
Copyright © 2015 International Business Machines Corporation. All rights reserved.