Class net.user1.orbiter.Orbiter
- Extends net.user1.events.EventDispatcher
The Orbiter class is the root class of every Orbiter application. It provides basic tools for connecting to Union server, and gives the application access to the core Orbiter system modules. Orbiter dispatches the following events:
- net.user1.orbiter.OrbiterEvent.READY
- net.user1.orbiter.OrbiterEvent.CLOSE
- net.user1.orbiter.OrbiterEvent.CONNECT_REFUSED
- net.user1.orbiter.OrbiterEvent.PROTOCOL_INCOMPATIBLE
net.user1.orbiter.Orbiter(configURL, traceLogMessages)
|
Methods
connect(host, port1, port2, portn)
The connect() method attempts to connect to Union Server at the specified host and ports. |
|
dispose()
Permanently disables this object and releases all of its
resources.
|
|
getLog()
|
|
isReady()
|
|
loadConfig(configURL)
Loads the client-configuration file.
|
|
secureConnect(host)
The secureConnect() method is identical to the connect() method, except that it uses an encrypted connection (TLS or SSL) rather than an unencrypted connection. |
|
self()
|
|
setServer(host)
|
|
updateSnapshot(snapshot)
|
- Inherited Methods
- from net.user1.events.EventDispatcher:
- addEventListener()
- dispatchEvent()
- getListeners()
- hasListener()
- removeEventListener()
- toString()