public interface ClientDisconnectHandler2
ClientDisconnectHandler2, so that it will be accepted by
Client.setDisconnectHandler(ClientDisconnectHandler). The method from this interface can be used to obtain the exception that caused the client to disconnect.
void invoke(Client client, java.lang.Exception e)
client- The client that unintentionally disconnected from AMPS.
e- The exception thrown when the client unintentionally disconnected.