public static interface SubscriptionTransport.Callback
Modifier and Type | Method and Description |
---|---|
void |
onClosed()
Gets called when connection with subscription server is closed.
|
void |
onConnected()
Gets called when connection with subscription server has been established.
|
void |
onFailure(java.lang.Throwable t)
Gets called when an unexpected exception occurs during communication to the server.
|
void |
onMessage(OperationServerMessage message)
Gets called when subscription server pushed new updates.
|
void onConnected()
void onFailure(java.lang.Throwable t)
t
- exception occurred during communication.void onMessage(OperationServerMessage message)
message
- new message received from the server.void onClosed()