public class Client
extends java.lang.Object
Constructor and Description |
---|
Client() |
Modifier and Type | Method and Description |
---|---|
void |
closeBrokerConnection() |
void |
initializeBrokerCommunications(java.util.Properties props,
java.lang.String commType) |
void |
initializeProducer() |
static void |
main(java.lang.String[] args) |
void |
publishEvent(byte[] transferBytes) |
public void initializeBrokerCommunications(java.util.Properties props, java.lang.String commType) throws ServiceException
ServiceException
public void closeBrokerConnection() throws ServiceException
ServiceException
public void initializeProducer() throws ServiceException
ServiceException
public void publishEvent(byte[] transferBytes) throws ServiceException, NBEventException
ServiceException
NBEventException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception