public static interface RealTimeServerConnection.OnChangeListener
| Modifier and Type | Method and Description |
|---|---|
void |
onChange(BoxSimpleMessage message,
RealTimeServerConnection realTimeServerConnection) |
void |
onException(java.lang.Exception e,
RealTimeServerConnection realTimeServerConnection) |
void onChange(BoxSimpleMessage message, RealTimeServerConnection realTimeServerConnection)
message - The message returned from the server.realTimeServerConnection - The real time server connection. Call connect to reconnect.void onException(java.lang.Exception e,
RealTimeServerConnection realTimeServerConnection)
e - Exception returned, this can be a MaxRetriesExceededException exception.realTimeServerConnection - The real time server that connection failed with. Call connect to reconnect.