public class LocalCMPSender
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
copyright
IBM Copyright
|
Constructor and Description |
---|
LocalCMPSender(java.lang.String brokerName,
int sessionID) |
Modifier and Type | Method and Description |
---|---|
void |
disconnect()
Gives the Sender the opportunity to close down cleanly.
|
static boolean |
isLibraryLoaded() |
void |
send(byte[] data)
Sends the supplied data to the broker 'immediately'.
|
void |
send(byte[] data,
boolean replyRequired)
Sends the supplied data to the broker 'immediately'.
|
protected static final java.lang.String copyright
public static boolean isLibraryLoaded()
public void disconnect()
public void send(byte[] data) throws ConfigManagerProxyLoggedException
data
- the data to be sent to the broker.ConfigManagerProxyLoggedException
- if the data could
not be sent for whatever reason.public void send(byte[] data, boolean replyRequired) throws ConfigManagerProxyLoggedException
data
- the data to be sent to the broker.replyRequired
- true if and only if a reply to the message
is required.ConfigManagerProxyLoggedException
- if the data could not
be sent for whatever reason.