public interface ConnectionEventListener
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onConnected(Connection connection)
notify when connected to server.
|
void |
onDisConnect(Connection connection)
notify when disconnected to server.
|
void onConnected(Connection connection)
connection - connection has connectedvoid onDisConnect(Connection connection)
connection - connection has disconnectedCopyright © 2018–2024 Alibaba Group. All rights reserved.