Dispatched when either the connection to the server is lost or a connection attempt fails. Individual events for connection failure and connection closure can be handled separately via the ConnectionManager class or any class that implements IConnection.
Dispatched when the client attempts to connect to Union Server, but the connection is refused. To determine why the client connection was refused, use getConnectionRefusal().
Dispatched when the client connects to a Union Server that conforms to a version of the UPC specification that does not match the client's UPC version.
The UPC specification version takes format: majorNumber.minorNumber.revisionNumber. For example, in the version number 1.2.0, the majorNumber is 1, the minorNumber is 2, and the revisionNumber is 0. If the client's majorNumber, minorNumber, and revisionNumber all match the server's majorNumber, minorNumber, and revisionNumber, the server is considered compatible with the client. Otherwise:
Dispatched when a connection to the server has been established and fully initialized. After READY occurs, the Orbiter client can begin communicating freely with the server.
Returns a ConnectionRefusal object describing a connection refusal by Union Server. Applies to the OrbiterEvent.CONNECT_REFUSED event only.
Returns the version of the UPC specification in use by the server. Applies to the OrbiterEvent.PROTOCOL_INCOMPATIBLE event only.
OrbiterEvent is a simple data class used to pass information from an application's Orbiter object to registered event-listeners when a Orbiter event occurs. The OrbiterrEvent class also defines constants representing the available Orbiter events.