Attributes | Name and Description |
---|---|
|
caplin.services.ConnectionService()
|
Attributes | Name and Description |
---|---|
<static>
|
caplin.services.ConnectionService.STATUS_DOWN
|
<static>
|
caplin.services.ConnectionService.STATUS_ERROR
|
<static>
|
caplin.services.ConnectionService.STATUS_OK
|
<static>
|
caplin.services.ConnectionService.STATUS_PARTIAL
|
Attributes | Name and Description |
---|---|
|
void
addStatusChangedListener(oListener
Adds a |
|
void
connect()
Connects to the connection service, or do nothing if already connected. |
|
void
disconnect()
Disconnects from the connection service or do nothing if already disconnected. |
|
void
removeStatusChangedListener(oListener oLitener)
Removes the previously registered |
►
caplin.services.ConnectionService()
►
<static>
caplin.services.ConnectionService.STATUS_DOWN
►
<static>
caplin.services.ConnectionService.STATUS_ERROR
►
<static>
caplin.services.ConnectionService.STATUS_OK
►
<static>
caplin.services.ConnectionService.STATUS_PARTIAL
►
void
addStatusChangedListener(oListener
ConnectionServiceListener
, bNotifyImmediately Tells)
Adds a ConnectionServiceListener
.
oListener |
ConnectionServiceListener
|
implementation that will be called back when a status change occurs. |
bNotifyImmediately | Tells | the ConnectionService if it wants a notification of the current status in the moment the listener is added. |
►
void
connect()
Connects to the connection service, or do nothing if already connected.
►
void
disconnect()
Disconnects from the connection service or do nothing if already disconnected.
►
void
removeStatusChangedListener(oListener oLitener)
Removes the previously registered ConnectionServiceListener
.
oListener | oLitener | The listener to remove. |