- com
- pcbsys
- nirvana
- nAdminAPI
- nServiceNode
This class provides a mechanism to get information about P2P services on a particular realm. More...
#include <nServiceNode.h>
Public Member Functions | |
void | addACLEntries (nACL *pEntries) |
Adds a specific acl entry to the leaf node acl. More... | |
void | addACLEntry (nACLEntry *pEntry) |
Adds a specific acl entry to the leaf node acl. More... | |
virtual void | addListener (nAPIConnectionListener *pListener) |
Adds a listener to this service. More... | |
virtual void | closed (nRealmNode *pNode) |
Called when the nRealmNode is closed. More... | |
virtual nACLEntry * | createACLEntry (const std::string &subject, BitArray *pBs) |
Adds a specific acl entry to the leaf node acl. More... | |
virtual nACLEntry * | createACLEntry (nSecurityGroup *grp, BitArray *pBs) |
Adds a specific acl entry to the given security group. More... | |
virtual nACL * | getACLs () |
Returns the ACLS associated with this Node. More... | |
virtual const std::string & | getName () |
Returns the name of the service. More... | |
Public Member Functions inherited from com::pcbsys::nirvana::nAdminAPI::nNode | |
virtual BitArray * | convertLong (longlong priv) |
Converts from a long to a bitArray used to specify ACL properties. More... | |
virtual bool | Equals (nNode *pItem) |
Check if this nNode is the same as the nNode passed in. More... | |
virtual bool | Equals (const std::string &item) |
Check if the string passed in matches the name of this nNode. More... | |
virtual const std::string & | getAbsolutePath () |
This function walks the tree to the root to generate a fully qualified name for this node. More... | |
const std::string & | getInternalName () |
Returns the name of this nNode. More... | |
const std::string & | getName () |
Returns the name of the node. More... | |
virtual nNode * | getParent () |
Returns this nodes parent node. More... | |
virtual std::string | getRelativePath (nNode *pTop) |
This method returns the relative path from this node to the nNode passed. More... | |
virtual bool | IsRemovable () |
Returns true if this nNode can be removed. More... | |
This class provides a mechanism to get information about P2P services on a particular realm.
void com::pcbsys::nirvana::nAdminAPI::nServiceNode::addACLEntries | ( | nACL * | pEntries | ) |
Adds a specific acl entry to the leaf node acl.
*pEntries | An nACL list containing the subjects and permissions to add to the leaf node acl |
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
void com::pcbsys::nirvana::nAdminAPI::nServiceNode::addACLEntry | ( | nACLEntry * | pEntry | ) |
Adds a specific acl entry to the leaf node acl.
*pEntry | An nACL entry containing the subject and permissions to add to the leaf node acl |
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
|
virtual |
Adds a listener to this service.
When connections to the service are added or removed the listener will be notified asynchronously
listener | nConnectionListener to use |
|
virtual |
Called when the nRealmNode is closed.
*pNode | The nRealmNode which has been closed. Ê |
|
virtual |
Adds a specific acl entry to the leaf node acl.
*pEntries | An nACL list containing the subjects and permissions to add to the leaf node acl |
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
Reimplemented from com::pcbsys::nirvana::nAdminAPI::nNode.
|
virtual |
Adds a specific acl entry to the given security group.
grp | the security group to create the ACL for |
*pBs | the BitArray representing the ACL settings to use. |
nInsufficientPrivilegesException | If the user is not permissioned to perform this operation |
nNodeException | if the ACLs being set are invalid |
nBaseAdminException | if unable to perform the operation, check the message for further information |
Reimplemented from com::pcbsys::nirvana::nAdminAPI::nNode.
|
virtual |
Returns the ACLS associated with this Node.
|
virtual |
Returns the name of the service.