| Package | Description |
|---|---|
| com.sybase.esp.sdk | |
| com.sybase.esp.sdk.data |
| Modifier and Type | Method and Description |
|---|---|
Stream |
Project.getStream(java.lang.String streamName)
Retrieve the
Stream object corresponding to the stream name. |
| Modifier and Type | Method and Description |
|---|---|
Stream |
SubscriberEvent.getStream()
Is valid for events which have related streams
|
abstract Stream |
MessageWriter.getStream() |
Stream |
MessageReader.getStream()
Returns the Stream for which the data is being read.
|
Stream[] |
Subscriber.getSubscribedStreams()
Returns (possible empty) array of streams currently subscribed to.
|
| Modifier and Type | Method and Description |
|---|---|
MessageWriter |
Publisher.getMessageWriter(Stream stream)
Retrieve a
MessageWriter that can be used to format messages to publish to the
specified stream. |
static void |
RawMessageWriter.setStream(java.nio.ByteBuffer buffer,
Stream stream)
Helper that method allows redirecting the buffer to a different stream.
|
void |
Subscriber.subscribeStream(Stream stream)
Subscribe to a single stream.
|
void |
Subscriber.subscribeStreams(Stream[] streams)
Subscribes to streams.
|
void |
Subscriber.unsubscribeStream(Stream stream)
Unsubscribes a stream from an active subscription.
|
| Constructor and Description |
|---|
SubscriberEvent(Subscriber subscriber,
SubscriberEvent.Type type,
Stream stream,
MessageReader reader) |