public interface IConnectionCallback
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onConnect(InetSocketAddress socketAddress)
On connection.
|
default void |
onConnect(String btnChainNid)
On connection.
|
void |
onDisConnect(InetSocketAddress socketAddress)
On dis connection.
|
default void |
onDisConnect(String btnChainNid)
On dis connection.
|
void onConnect(InetSocketAddress socketAddress)
socketAddress - the socket addressvoid onDisConnect(InetSocketAddress socketAddress)
socketAddress - the socket addressdefault void onConnect(String btnChainNid)
btnChainNid - the socket addressdefault void onDisConnect(String btnChainNid)
btnChainNid - the socket addressCopyright © 2022. All rights reserved.