[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/support/aphlict/client/src/ -> AphlictMaster.as (summary)

The pool of connected clients.

File Size: 312 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 17 functions

  AphlictMaster()
  register()
  purgeClients()
  ping()
  connectToServer()
  didConnectSocket()
  didCloseSocket()
  didIOErrorSocket()
  didSecurityErrorSocket()
  subscribe()
  getSubscriptions()
  unsubscribeAll()
  unsubscribe()
  sendSubscribeCommand()
  sendUnsubscribeCommand()
  didReceiveSocket()
  setStatusOnClients()

Functions
Functions that are not part of a class:

AphlictMaster(server:String, port:Number)   X-Ref
No description

register(client:String)   X-Ref
Register a @{class:AphlictClient}.


purgeClients(event:TimerEvent)   X-Ref
Purge stale client connections from the client pool.


ping(client:String)   X-Ref
Clients will regularly "ping" the master to let us know that they are
still alive. We will "pong" them back to let the client know that the
master is still alive.


connectToServer()   X-Ref
No description

didConnectSocket(event:Event)   X-Ref
No description

didCloseSocket(event:Event)   X-Ref
No description

didIOErrorSocket(event:IOErrorEvent)   X-Ref
No description

didSecurityErrorSocket(event:SecurityErrorEvent)   X-Ref
No description

subscribe(client:String, phids:Array)   X-Ref
No description

getSubscriptions(client:String)   X-Ref
No description

unsubscribeAll(client:String)   X-Ref
No description

unsubscribe(client:String, phids:Array)   X-Ref
No description

sendSubscribeCommand(phids:Array)   X-Ref
No description

sendUnsubscribeCommand(phids:Array)   X-Ref
No description

didReceiveSocket(event:Event)   X-Ref
No description

setStatusOnClients(status:String,code:String = null)   X-Ref
No description



Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1