- onClose(NetworkChannel) - Method in interface com.ibm.mqlight.api.network.NetworkListener
-
Called when the network connection is closed at the remote end.
- onDrain(NonBlockingClient, T) - Method in class com.ibm.mqlight.api.NonBlockingClientAdapter
-
- onDrain(NonBlockingClient, T) - Method in interface com.ibm.mqlight.api.NonBlockingClientListener
-
Called as a notification when the client has flushed any buffered messages to the network.
- onError(NonBlockingClient, T, Exception) - Method in interface com.ibm.mqlight.api.CompletionListener
-
Called to indicate that the operation failed.
- onError(NetworkChannel, Exception) - Method in interface com.ibm.mqlight.api.network.NetworkListener
-
Called when an error occurs on the network connection - for example because
the process at the remote end of the connection abruptly ends.
- onMalformed(NonBlockingClient, T, MalformedDelivery) - Method in class com.ibm.mqlight.api.DestinationAdapter
-
- onMalformed(NonBlockingClient, T, MalformedDelivery) - Method in interface com.ibm.mqlight.api.DestinationListener
-
Invoked to deliver a malformed message to the client.
- onMessage(NonBlockingClient, T, Delivery) - Method in class com.ibm.mqlight.api.DestinationAdapter
-
- onMessage(NonBlockingClient, T, Delivery) - Method in interface com.ibm.mqlight.api.DestinationListener
-
Invoked to deliver a message to the client.
- onRead(NetworkChannel, ByteBuf) - Method in interface com.ibm.mqlight.api.network.NetworkListener
-
Called when data is read from the network.
- onRestarted(NonBlockingClient, T) - Method in class com.ibm.mqlight.api.NonBlockingClientAdapter
-
- onRestarted(NonBlockingClient, T) - Method in interface com.ibm.mqlight.api.NonBlockingClientListener
-
Called as a notification when the client transitions into restarting state.
- onRetrying(NonBlockingClient, T, ClientException) - Method in class com.ibm.mqlight.api.NonBlockingClientAdapter
-
- onRetrying(NonBlockingClient, T, ClientException) - Method in interface com.ibm.mqlight.api.NonBlockingClientListener
-
Called as a notification when the client transitions into retrying state.
- onStarted(NonBlockingClient, T) - Method in class com.ibm.mqlight.api.NonBlockingClientAdapter
-
- onStarted(NonBlockingClient, T) - Method in interface com.ibm.mqlight.api.NonBlockingClientListener
-
Called as a notification when the client transitions into started state.
- onStopped(NonBlockingClient, T, ClientException) - Method in class com.ibm.mqlight.api.NonBlockingClientAdapter
-
- onStopped(NonBlockingClient, T, ClientException) - Method in interface com.ibm.mqlight.api.NonBlockingClientListener
-
Called as a notification when the client transitions into stopped state.
- onSuccess(NonBlockingClient, T) - Method in interface com.ibm.mqlight.api.CompletionListener
-
Called to indicate that the operation completed successfully.
- onSuccess(Endpoint) - Method in interface com.ibm.mqlight.api.endpoint.EndpointService
-
Called by the client when it has successfully established a connection to one of
the endpoints returned by this service.
- onUnsubscribed(NonBlockingClient, T, String, String, Exception) - Method in class com.ibm.mqlight.api.DestinationAdapter
-
- onUnsubscribed(NonBlockingClient, T, String, String, Exception) - Method in interface com.ibm.mqlight.api.DestinationListener
-
Invoked to provide a notification that the client is no longer subscribed to a destination
that this DestinationListneer
has previously being associated with.
- schedule(long, Promise<Void>) - Method in interface com.ibm.mqlight.api.timer.TimerService
-
Schedules a timer that will "pop" at some point in the future.
- SecurityException - Exception in com.ibm.mqlight.api
-
Used to indicate that a client has failed due to a security related problem.
- SecurityException(String) - Constructor for exception com.ibm.mqlight.api.SecurityException
-
- SecurityException(String, Throwable) - Constructor for exception com.ibm.mqlight.api.SecurityException
-
- send(String, String, Map<String, Object>, SendOptions, CompletionListener<T>, T) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Sends a string message to a topic.
- send(String, ByteBuffer, Map<String, Object>, SendOptions, CompletionListener<T>, T) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Sends a ByteBuffer
to a topic.
- send(String, Object, Map<String, Object>, SendOptions, CompletionListener<T>, T) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Sends a JSON object to a topic.
- send(String, Object, Type, Map<String, Object>, SendOptions, CompletionListener<T>, T) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Sends a JSON object to a topic.
- send(String, String, Map<String, Object>, CompletionListener<T>, T) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Send a message to the MQ Light server.
- send(String, ByteBuffer, Map<String, Object>, CompletionListener<T>, T) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Send a message to the MQ Light server.
- send(String, Object, Map<String, Object>, CompletionListener<T>, T) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Sends a message to the MQ Light server.
- send(String, Object, Type, Map<String, Object>, CompletionListener<T>, T) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Sends a message to the MQ Light server.
- send(String, String, Map<String, Object>) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Send a message to the MQ Light server.
- send(String, ByteBuffer, Map<String, Object>) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Send a message to the MQ Light server.
- send(String, Object, Map<String, Object>) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Send a message to the MQ Light server.
- send(String, Object, Type, Map<String, Object>) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Send a message to the MQ Light server.
- sendJson(String, String, Map<String, Object>, SendOptions, CompletionListener<T>, T) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Sends a String containing JSON data to a topic.
- sendJson(String, String, Map<String, Object>, CompletionListener<T>, T) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Sends a message to the MQ Light server.
- sendJson(String, String, Map<String, Object>) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Send a message to the MQ Light server.
- SendOptions - Class in com.ibm.mqlight.api
-
A set of options that can be used to configure the behaviour of the
NonBlockingClient
NonBlockingClient.send(String, java.nio.ByteBuffer, Map, SendOptions, CompletionListener, Object)
and
NonBlockingClient.send(String, String, Map, SendOptions, CompletionListener, Object)
methods.
- SendOptions.SendOptionsBuilder - Class in com.ibm.mqlight.api
-
A builder for SendOptions
objects.
- setAutoConfirm(boolean) - Method in class com.ibm.mqlight.api.SubscribeOptions.SubscribeOptionsBuilder
-
Determines whether the client automatically confirms the receipt of
'at least once' quality of service messages.
- setClientId(String) - Method in interface com.ibm.mqlight.api.logging.Logger
-
Associate the specified client id for the current thread, and its child threads, for tracing and logging
- setContext(Object) - Method in interface com.ibm.mqlight.api.network.NetworkChannel
-
Allows an arbitrary object to be associated with this channel object.
- setCredentials(String, String) - Method in class com.ibm.mqlight.api.ClientOptions.ClientOptionsBuilder
-
- setCredit(int) - Method in class com.ibm.mqlight.api.SubscribeOptions.SubscribeOptionsBuilder
-
Sets the maximum number of unconfirmed messages a client can have before the server will stop
sending new messages to the client and require that it confirms some of the outstanding message
deliveries in order to receive more messages.
- setFailure(Exception) - Method in interface com.ibm.mqlight.api.Promise
-
Called to indicate that the related operation failed in some way.
- setId(String) - Method in class com.ibm.mqlight.api.ClientOptions.ClientOptionsBuilder
-
- setQos(QOS) - Method in class com.ibm.mqlight.api.SendOptions.SendOptionsBuilder
-
Sets the quality of service that will be used to send messages to the MQ Light
server.
- setQos(QOS) - Method in class com.ibm.mqlight.api.SubscribeOptions.SubscribeOptionsBuilder
-
The quality of service to use for delivering messages to the subscription.
- setShare(String) - Method in class com.ibm.mqlight.api.SubscribeOptions.SubscribeOptionsBuilder
-
The share argument supplied used when subscribing to a destination.
- setSslTrustCertificate(File) - Method in class com.ibm.mqlight.api.ClientOptions.ClientOptionsBuilder
-
Specifies a X.509 certificate chain file for SSL/TLS certificates
that the client will trust.
- setSslVerifyName(boolean) - Method in class com.ibm.mqlight.api.ClientOptions.ClientOptionsBuilder
-
Determines whether the client validates that the CN name of the server's certificate
matches its DNS name.
- setSuccess(T) - Method in interface com.ibm.mqlight.api.Promise
-
Called to indicate that the related operation succeeded.
- setTtl(long) - Method in class com.ibm.mqlight.api.SendOptions.SendOptionsBuilder
-
Sets the time to live that will be used for messages sent to the MQ Light server.
- setTtl(long) - Method in class com.ibm.mqlight.api.SubscribeOptions.SubscribeOptionsBuilder
-
A time-to-live value, in milliseconds, that is applied to the destination that the client
is subscribed to.
- setWait(long) - Method in interface com.ibm.mqlight.api.endpoint.EndpointPromise
-
Completes the promise and indicates to the client that it should
wait for a period of time before querying the endpoint service again.
- start(CompletionListener<T>, T) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Requests that the client transitions into started state.
- StartingException - Exception in com.ibm.mqlight.api
-
A type of
StateException
to indicate that the client is currently starting when a request to stop was made.
- StartingException(String) - Constructor for exception com.ibm.mqlight.api.StartingException
-
- StateException - Exception in com.ibm.mqlight.api
-
This exception is thrown to indicate that the client is not in the correct state
to perform the requested operation.
- StateException(String) - Constructor for exception com.ibm.mqlight.api.StateException
-
- StateException(String, Throwable) - Constructor for exception com.ibm.mqlight.api.StateException
-
- stop(CompletionListener<T>, T) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Requests that the client transitions into stopped state, automatically unsubscribing from
any destinations previously subscribed to using the subscribe(...)
methods.
- StoppedException - Exception in com.ibm.mqlight.api
-
A type of
StateException
to indicate that the client is in the stopping or stopped state which is not appropriate
to perform the requested operation.
- StoppedException(String) - Constructor for exception com.ibm.mqlight.api.StoppedException
-
- StringDelivery - Interface in com.ibm.mqlight.api
-
A sub-type of delivery that is used to represent textual data being received
by the client.
- subscribe(String, SubscribeOptions, DestinationListener<T>, CompletionListener<T>, T) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Subscribes the client to a destination, based on the supplied topic pattern and
share parameters.
- subscribe(String, DestinationListener<T>, CompletionListener<T>, T) - Method in class com.ibm.mqlight.api.NonBlockingClient
-
Subscribes to a destination.
- SubscribedException - Exception in com.ibm.mqlight.api
-
A type of
StateException
to indicate that the client is attempting to subscribe to a destination for which the client is already subscribed.
- SubscribedException(String) - Constructor for exception com.ibm.mqlight.api.SubscribedException
-
- SubscribeOptions - Class in com.ibm.mqlight.api
-
- SubscribeOptions.SubscribeOptionsBuilder - Class in com.ibm.mqlight.api
-
A builder that creates instances of SubscribeOptions
.
- valueOf(String) - Static method in enum com.ibm.mqlight.api.ClientState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.ibm.mqlight.api.Delivery.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.ibm.mqlight.api.logging.FFDCProbeId
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.ibm.mqlight.api.MalformedDelivery.MalformedReason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.ibm.mqlight.api.QOS
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.ibm.mqlight.api.ClientState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.ibm.mqlight.api.Delivery.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.ibm.mqlight.api.logging.FFDCProbeId
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.ibm.mqlight.api.MalformedDelivery.MalformedReason
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.ibm.mqlight.api.QOS
-
Returns an array containing the constants of this enum type, in
the order they are declared.