Package | com.pcbsys.nirvana.client |
Interface | public interface nConnectionListener |
Implementors | nService |
Public Methods
Method | Defined By | ||
---|---|---|---|
disconnected():void
This method is called by the nirvana client API when a disconnect
happens so you can deal with the disconnect i.e. | nConnectionListener | ||
reconnected():void
This method is called by the nirvana client API when a reconnect
happens so you can recommence your communications. | nConnectionListener | ||
retry(failureCount:int, realmName:String):Boolean
This method is called each time a reconnection fails giving two parameters
| nConnectionListener |
Method Detail
disconnected | () | method |
public function disconnected():void
This method is called by the nirvana client API when a disconnect happens so you can deal with the disconnect i.e. pause the program and await the reconnect call.
reconnected | () | method |
public function reconnected():void
This method is called by the nirvana client API when a reconnect happens so you can recommence your communications.
retry | () | method |
public function retry(failureCount:int, realmName:String):Boolean
This method is called each time a reconnection fails giving two parameters
Parameters
failureCount:int — A int specifying the failure number
| |
realmName:String — The realm that failed to reconnect
|
Boolean — Boolean as to whether or not to continue to attempt reconnection
|