Function Protocol.disconnected
Called when a connection is lost.
Parameters
| Name | Description |
|---|---|
| exception | Exception if an error caused the disconnect, null otherwise. |
Called when a connection is lost.
| Name | Description |
|---|---|
| exception | Exception if an error caused the disconnect, null otherwise. |