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:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
consume
When you register a subscribe, you will start getting called here with its results- Parameters:
result
- 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.
-