public interface Publisher
| Modifier and Type | Method and Description |
|---|---|
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 start()
void stop()
void publish(byte[] message)
message - the serialized messagevoid publish(byte[][] message)
message - the serialized message