public interface ClientDisconnectHandler
Client
when the Client unintentionally disconnects
from AMPS. This interface can be used to implement your own disconnect handler.
It will notify you that a Client disconnected so that an action can be taken, such
as doing a reconnect.Modifier and Type | Method and Description |
---|---|
void |
invoke(Client client)
When the Client unintentionally disconnects from AMPS, this method is
invoked.
|
void invoke(Client client)
client
- The client that unintentionally disconnected from AMPS.