- com
- pcbsys
- nirvana
- client
- p2p
- nServiceInfo
This class contains information regarding the service, such as name, type and description. More...
#include <nServiceInfo.h>
Inherits Object.
Public Member Functions | |
std::string | getDescription () |
Returns a description of this service. More... | |
const std::string & | getName () |
Returns the name of the service. More... | |
std::string * | getSubject () |
Returns the owner of the service. More... | |
int | getSubjectLength () |
Returns the length of the owner of the service. More... | |
int | getType () |
Returns the type of service. More... | |
bool | isOnline () |
Check to see if the service is online and connected to the server. More... | |
bool | isRemote () |
Flag used to indicate if the service is on the local client or not. More... | |
This class contains information regarding the service, such as name, type and description.
std::string com::pcbsys::nirvana::client::p2p::nServiceInfo::getDescription | ( | ) |
Returns a description of this service.
const std::string& com::pcbsys::nirvana::client::p2p::nServiceInfo::getName | ( | ) |
Returns the name of the service.
std::string* com::pcbsys::nirvana::client::p2p::nServiceInfo::getSubject | ( | ) |
Returns the owner of the service.
int com::pcbsys::nirvana::client::p2p::nServiceInfo::getSubjectLength | ( | ) |
Returns the length of the 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
bool com::pcbsys::nirvana::client::p2p::nServiceInfo::isOnline | ( | ) |
Check to see if the service is online and connected to the server.
bool com::pcbsys::nirvana::client::p2p::nServiceInfo::isRemote | ( | ) |
Flag used to indicate if the service is on the local client or not.