com.pcbsys.nirvana.client.p2p.nServiceInfo Class Reference

This class contains information regarding the service, such as name, type and description. More...

Public Member Functions

String getDescription ()
 Returns a description of this service. More...
 
String getName ()
 Returns the name of the service. More...
 
String[] getSubject ()
 Returns the string representation. More...
 
int getType ()
 Returns the type of service. More...
 
boolean isOnline ()
 Check to see if the service is online and connected to the server. More...
 
boolean isRemote ()
 Flag used to indicate if the service is in the local JVM or not. More...
 

Detailed Description

This class contains information regarding the service, such as name, type and description.

Member Function Documentation

String com.pcbsys.nirvana.client.p2p.nServiceInfo.getDescription ( )

Returns a description of this service.

Returns
The description of the service
String com.pcbsys.nirvana.client.p2p.nServiceInfo.getName ( )

Returns the name of the service.

Returns
The name of the service
String [] com.pcbsys.nirvana.client.p2p.nServiceInfo.getSubject ( )

Returns the string representation.

Returns
String value Returns the owner of the service.
The subject owner of the service
int com.pcbsys.nirvana.client.p2p.nServiceInfo.getType ( )

Returns the type of service.

This could be of type nServiceFactory.nStreamServiceType or nServiceFactory.nEventServiceType

Returns
The type of the service
boolean com.pcbsys.nirvana.client.p2p.nServiceInfo.isOnline ( )

Check to see if the service is online and connected to the server.

Returns
true if the service is connected to the realm
boolean com.pcbsys.nirvana.client.p2p.nServiceInfo.isRemote ( )

Flag used to indicate if the service is in the local JVM or not.

Returns
true if the service is remote or not.