Package | Description |
---|---|
com.ibm.mqlight.api.network |
Modifier and Type | Method and Description |
---|---|
void |
NetworkListener.onClose(NetworkChannel channel)
Called when the network connection is closed at the remote end.
|
void |
NetworkListener.onError(NetworkChannel channel,
Exception exception)
Called when an error occurs on the network connection - for example because
the process at the remote end of the connection abruptly ends.
|
void |
NetworkListener.onRead(NetworkChannel channel,
io.netty.buffer.ByteBuf buffer)
Called when data is read from the network.
|
Modifier and Type | Method and Description |
---|---|
void |
NetworkService.connect(Endpoint endpoint,
NetworkListener listener,
Promise<NetworkChannel> promise)
Establish a network connection.
|
Copyright © 2015 International Business Machines Corporation. All rights reserved.