public class StreamPublisher extends Object
| Constructor and Description |
|---|
StreamPublisher()
Create a new stream publisher instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
publishToStream(String publishStream,
byte[] transferBytes)
Utility method that allows a producer to publish a set of bytes onto the
specified stream.
|
public void publishToStream(String publishStream, byte[] transferBytes) throws CommunicationsException
publishStream - Synopsis of the stream to publish totransferBytes - the payload for the stream fragmentsCommunicationsException - When communication problems are encountered.Copyright © 2015. All rights reserved.