Package com.streambase.sb.client
Interface DeMUXStreamBaseClient.DequeueListener
-
- Enclosing class:
- DeMUXStreamBaseClient
public static interface DeMUXStreamBaseClient.DequeueListener
Implement this interface to get calls back with data when using a DeMUXStreamBaseClient- See Also:
DeMUXStreamBaseClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
connectionClosed()
This will be called if the connection is closed.void
consume(DequeueResult result)
When you register a subscribe, you will start getting called here with its results
-
-
-
Method Detail
-
consume
void consume(DequeueResult result)
When you register a subscribe, you will start getting called here with its results- Parameters:
result
-
-
connectionClosed
void connectionClosed()
This will be called if the connection is closed. If any consumes are pending, they will be called before this. You'll get no more consume calls after this call.
-
-