Package | com.pcbsys.nirvana.client.p2p |
Class | public class nService |
Inheritance | nService ![]() |
Implements | nEventListener, nConnectionListener |
Subclasses | nEventService |
Public Properties
Property | Defined By | ||
---|---|---|---|
isClosed : Boolean [read-only]
Returns a flag indicating if the service has been closed with the close() method
| nService | ||
isConnected : Boolean [read-only]
Returns whether the service is physically connected to the realm
| nService | ||
serviceInformation : nServiceInfo [read-only]
Returns the description of the service connected to. | nService | ||
session : nSession [read-only]
Returns the nSession used within this p2p instance
| nService | ||
stateListener : nServiceStateListener
Return the state listener associated with this service
| nService |
Public Methods
Method | Defined By | ||
---|---|---|---|
close():void
Closes the service and informs the remote service that it has been closed. | nService |
Public Constants
Constant | Defined By | ||
---|---|---|---|
EVENT_SERVICE_TYPE : int = 1 [static] | nService |
Property Detail
isClosed | property |
isClosed:Boolean
[read-only] Returns a flag indicating if the service has been closed with the close() method
Implementation
public function get isClosed():Boolean
isConnected | property |
isConnected:Boolean
[read-only] Returns whether the service is physically connected to the realm
Implementation
public function get isConnected():Boolean
serviceInformation | property |
serviceInformation:nServiceInfo
[read-only] Returns the description of the service connected to.
Implementation
public function get serviceInformation():nServiceInfo
session | property |
session:nSession
[read-only] Returns the nSession used within this p2p instance
Implementation
public function get session():nSession
stateListener | property |
stateListener:nServiceStateListener
Return the state listener associated with this service
Implementation
public function get stateListener():nServiceStateListener
public function set stateListener(value:nServiceStateListener):void
Method Detail
close | () | method |
public function close():void
Closes the service and informs the remote service that it has been closed.
Constant Detail
EVENT_SERVICE_TYPE | Constant |
public static const EVENT_SERVICE_TYPE:int = 1