public class NonReliableQueuedPublisher extends java.lang.Object implements Publisher, java.lang.Thread.UncaughtExceptionHandler
| Constructor and Description |
|---|
NonReliableQueuedPublisher(ContextManager manager,
org.fabric3.spi.federation.addressing.SocketAddress address,
org.fabric3.api.binding.zeromq.model.ZeroMQMetadata metadata,
long pollTimeout,
MessagingMonitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAddress() |
void |
publish(byte[] message)
Sends a single frame message over the socket.
|
void |
publish(byte[][] message)
Sends a multi-frame message over the socket.
|
void |
start()
Initializes the client and its underlying socket.
|
void |
stop()
Disposes the client and any open resources.
|
void |
uncaughtException(java.lang.Thread t,
java.lang.Throwable e) |
public NonReliableQueuedPublisher(ContextManager manager, org.fabric3.spi.federation.addressing.SocketAddress address, org.fabric3.api.binding.zeromq.model.ZeroMQMetadata metadata, long pollTimeout, MessagingMonitor monitor)
public void start()
Publisherpublic void stop()
Publisherpublic java.lang.String getAddress()
public void publish(byte[] message)
Publisherpublic void publish(byte[][] message)
Publisherpublic void uncaughtException(java.lang.Thread t,
java.lang.Throwable e)
uncaughtException in interface java.lang.Thread.UncaughtExceptionHandler