Class StreamBaseClient

java.lang.Object
com.streambase.sb.client.StreamBaseClient
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
DeMUXStreamBaseClient

public class StreamBaseClient extends Object
A client used to subscribe to StreamBase streams and to send commands to the StreamBase Server. Note that this implementation is not synchronized. If instances of this class are accessed from multiple threads, access must be synchronized. With the exception of close(), the single threaded restriction dictates that no thread may reference the object - including enqueueing - while another thread is in dequeue(). If multiple threads subscribe to streams, it is recommended that they use separate instances of this class.