ConnectionStatus Event
Fired to indicate changes in connection state.
Syntax
public class DefaultRudpclientEventListener implements RudpclientEventListener { ... public void connectionStatus(RudpclientConnectionStatusEvent e) {} ... } public class RudpclientConnectionStatusEvent { public String connectionEvent; public int statusCode; public String description; }
Remarks
The ConnectionStatus event is fired when the connection state changes: completion of a connection, etc.
The ConnectionEvent parameter indicates the type of connection event. Values may include:
Remote host connection complete. | |
Remote host disconnected. |