| [ Index ] |
PHP Cross Reference of Phabricator |
[Source view] [Print] [Project Stats]
The connection name for this client. This will be used for the @{class:LocalConnection} object.
| File Size: | 160 lines (5 kb) |
| Included or required: | 0 times |
| Referenced: | 1 time |
| Includes or requires: | 0 files |
| AphlictClient() X-Ref |
| No description |
| uncaughtErrorHandler(event:UncaughtErrorEvent) X-Ref |
| No description |
| externalConnect(server:String,port:Number,subscriptions:Array) X-Ref |
| No description |
| generateClientId() X-Ref |
| Generate a unique identifier that will be used to communicate with the @{class:AphlictMaster}. |
| connectToMaster() X-Ref |
| Create a new connection to the @{class:AphlictMaster}. If there is no current @{class:AphlictMaster} instance, then a new master will be created. |
| registerWithMaster() X-Ref |
| Register our client ID with the @{class:AphlictMaster} and send our subscriptions. |
| keepalive(event:TimerEvent) X-Ref |
| Send a keepalive signal to the @{class:AphlictMaster}. If the connection to the master has expired (because the master has not sent a heartbeat signal), then a new connection to master will be created. |
| pong() X-Ref |
| This function is used to receive the heartbeat signal from the @{class:AphlictMaster}. |
| receiveMessage(msg:Object) X-Ref |
| Receive a message from the Aphlict Server, via the @{class:AphlictMaster}. |
| setStatus(status:String, code:String = null) X-Ref |
| No description |
| Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |