ConnectionStatus Event
Fired to indicate changes in connection state.
Syntax
public open class DefaultRudpclientEventListener : RudpclientEventListener { ... public override fun connectionStatus(e: RudpclientConnectionStatusEvent) {} ... } public class RudpclientConnectionStatusEvent { val connectionEvent: String? val statusCode: Int val description: String? }
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. |