com::pcbsys::nirvana::nAdminAPI::nLeafNode Class Reference

This class represents the Nirvana Channel or Queue on the Nirvana Realm. More...

#include <nLeafNode.h>

Inheritance diagram for com::pcbsys::nirvana::nAdminAPI::nLeafNode:
com::pcbsys::nirvana::nAdminAPI::nNode com::pcbsys::nirvana::nAdminAPI::nRemovable com::pcbsys::nirvana::nAdminAPI::nCopyable com::pcbsys::nirvana::nAdminAPI::nJoinable

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)
 Registers the listener object with the channel/queue so that whenever a connection is made or lost with the channel such as a subscriber is added the listener is notified of the change in state of the channel. More...
 
void archiveJoin (nNode *pToNode, const std::string &selector)
 This method enables the joining of the object from one node to another, specifying a selector for filtered joins. More...
 
virtual void closed (nRealmNode *pClose)
 Called when the nRealmNode is closed. More...
 
virtual void copy (nNode *pToNode, std::string &toName, bool bWaitForCompletion, nACL *pAcl, nCommandStatus *pCmdStatus)
 Copies this nLeafNode (channel or queue) to a new nLeafNode (channel or queue) within the nRealmNode passed as a parameter, with the specified channel name. More...
 
virtual void copy (std::string &toName, bool bWaitForCompletion, nACL *pAcl, nCommandStatus *pCmdStatus)
 Copies this nLeafNode (channel or queue) to a new nLeafNode (channel or queue) within same realm with the specified channel name. More...
 
virtual void copy (nNode *pToNode, bool bWaitForCompletion, nChannelAttributes *pAttrib, nACL *pAcl, nCommandStatus *pCmdStatus)
 Copies this nLeafNode (channel or queue) to a new nLeafNode (channel or queue) within the nRealmNode passed as a parameter, with the specified channel attributes. More...
 
virtual void copy (bool bWaitForCompletion, nChannelAttributes *pAttrib, nACL *pAcl, nCommandStatus *pCmdStatus)
 Copies this nLeafNode (channel or queue) to a new nLeafNode (channel or queue) within the same realm node with the specified channel attributes. More...
 
virtual nACLEntrycreateACLEntry (const std::string &subject, BitArray *pBs)
 Adds a specific acl entry to the leaf node acl. More...
 
virtual nACLEntrycreateACLEntry (nSecurityGroup *grp, BitArray *pBs)
 This method creates an ACL entry. More...
 
virtual void deleteJoin (nNode *pNode)
 This method deletes the join between nodes. More...
 
virtual void delListener ()
 Removes the registered listener from the channel so no further callbacks are made to the listener. More...
 
virtual void freeUnusedSpace ()
 Requests that the Realm frees the unused space within this channel/queue. More...
 
const std::string & getAbsolutePath ()
 This function walks the tree to the root to generate a fully qualified name for this node. More...
 
virtual nACLgetACLs ()
 Retrieves the channel/queues ACLs which can then be modified and committed with the setACLs() function. More...
 
virtual nChannelAttributesgetAttributes ()
 Returns the channel attributes for this channel/queue. More...
 
virtual double getCacheHitRatio ()
 Retreives the channel/queues cache ratio. More...
 
virtual double getConnectionRate ()
 The number of subscriptions made to this store per second. More...
 
virtual double getConsumedRate ()
 The number of events published per second. More...
 
virtual longlong getCurrentNoOfConnections ()
 Retrieves the current number of connections to this channel. More...
 
virtual longlong getCurrentNumberOfEvents ()
 Returns the number of events within the channel/queue. More...
 
virtual longlong getFanoutTime ()
 The total number of milliseconds it takes to fanout each event to all consumers. More...
 
virtual std::map< nLeafNode
*, nJoinDetails * > & 
getInboundJoins ()
 Returns a map of nJoinDetails objects containing information about channels sending events to this channel. More...
 
virtual longlong getLastEID ()
 Returns the last EID that was used for the channel/queue. More...
 
virtual int getOutboundJoinCount ()
 Returns a count of outbound joins this channel has. More...
 
virtual std::map< std::string,
nJoinDetails * > & 
getOutboundJoins ()
 Returns a map of nJoinDetails objects containing information about channels that this channel will pass events to. More...
 
virtual int getPercentageFreeInStore ()
 Returns the amount of free space within a store as a percentage of the overall space used. More...
 
virtual double getPublishRate ()
 The number of events published per second. More...
 
virtual nRealmNodegetRealm ()
 Returns the Realm Node this leaf node is associated with. More...
 
virtual longlong getTotalConsumed ()
 Returns the total number of events that this channel has delivered to subscribers. More...
 
virtual longlong getTotalNoOfConnections ()
 Returns the total number of connections that this channel has had since the realm started. More...
 
virtual longlong getTotalPublished ()
 Returns the total number of events published/pushed to this channel/queue since the realm has started. More...
 
virtual longlong getUsedSpace ()
 Returns the number of bytes that this channel/queue consumes on the server. More...
 
virtual bool isChannel ()
 Returns true if this node is a channel. More...
 
virtual bool isClusterWide ()
 Returns true if this represents a nirvana channel or queue that is part of a cluster. More...
 
virtual bool isQueue ()
 Returns true if this node is a queue. More...
 
virtual bool IsRemovable ()
 Returns true if this node is removable. More...
 
virtual void join (nNode *pToNode, bool bIsRouted, int hopcount, const std::string &selector)
 This method enables the joining of the object from one node to another, specifying a selector, and a maximum hop count for the events. More...
 
virtual void join (nNode *pToNode, bool bIsRouted, int hopcount, const std::string &selector, bool allowPurge)
 This method enables the joining of the object from one node to another, specifying a selector, and a maximum hop count for the events. More...
 
virtual void join (nNode *pToNode, const std::string &selector)
 This method enables the joining of the object from one node to another, specifying a selector for filtered joins. More...
 
void modACLEntries (nACL *pEntries)
 modifies a specific acl entry's permissions in the leaf node acl. More...
 
void modACLEntry (nACLEntry *pEntry)
 modifies a specific acl entry's permissions in the leaf node acl. More...
 
 nLeafNode (const std::string &name, nSecureChannel *pChannel, nNode *pParent)
 Creates a new nLeafNode. More...
 
virtual void remove (bool removeChildren)
 This method removes this nLeafNode (channel or queue) from its parent nRealmNode. More...
 
void removeACLEntries (nACL *pEntries)
 removes a specific acl entry from the leaf node acl. More...
 
void removeACLEntry (nACLEntry *pEntry)
 removes a specific acl entry from the leaf node acl. More...
 
virtual void setACLs (nACL *pAcl)
 Commits the ACL passed in with the Realm Server. 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...
 
const std::string & getInternalName ()
 Returns the name of this nNode. More...
 
const std::string & getName ()
 Returns the name of the node. More...
 
virtual nNodegetParent ()
 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...
 

Detailed Description

This class represents the Nirvana Channel or Queue on the Nirvana Realm.

The super class is nNode which implements Observable. When any details change for this object any registered Observers are notified with the change. The status functions may return 0 until the status events are received from the server.

See Also
nNode
nRemovable
nCopyable
nJoinable
nPkgCloseListener
Observable

Constructor & Destructor Documentation

com::pcbsys::nirvana::nAdminAPI::nLeafNode::nLeafNode ( const std::string &  name,
nSecureChannel *  pChannel,
nNode pParent 
)

Creates a new nLeafNode.

Parameters
namethe name of the new leaf node
*pChannelthe channel associated with the leaf node
*pParentthe nNode parent of this node

Member Function Documentation

void com::pcbsys::nirvana::nAdminAPI::nLeafNode::addACLEntries ( nACL pEntries)

Adds a specific acl entry to the leaf node acl.

Parameters
*pEntriesAn nACL list containing the subjects and permissions to add to the leaf node acl
Exceptions
nInsufficientPrivilegesExceptionIf the user is not permitted to perform this operation
nNodeExceptionif the ACLs being set are invalid
nBaseAdminExceptionif unable to perform the operation, check the message for further information
void com::pcbsys::nirvana::nAdminAPI::nLeafNode::addACLEntry ( nACLEntry pEntry)

Adds a specific acl entry to the leaf node acl.

Parameters
*pEntryAn nACL entry containing the subject and permissions to add to the leaf node acl
Exceptions
nInsufficientPrivilegesExceptionIf the user is not permitted to perform this operation
nNodeExceptionif the ACLs being set are invalid
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com::pcbsys::nirvana::nAdminAPI::nLeafNode::addListener ( nAPIConnectionListener pListener)
virtual

Registers the listener object with the channel/queue so that whenever a connection is made or lost with the channel such as a subscriber is added the listener is notified of the change in state of the channel.

Currently only one listener per session is supported.

Parameters
*pListenerthe connection listener to be added to the leaf node (channel or queue)
See Also
nConnectionListener
Exceptions
nBaseAdminExceptionif the user is not permitted to access these lists, check the message for further information
void com::pcbsys::nirvana::nAdminAPI::nLeafNode::archiveJoin ( nNode pToNode,
const std::string &  selector 
)

This method enables the joining of the object from one node to another, specifying a selector for filtered joins.

Parameters
*pToNodethe nNode object to join this node to
selectorthe filter to be applied to the join
Exceptions
nUnsupportedJoinExceptionthrown if join is not supported (e.g. on queues)
nBaseAdminExceptionis thrown if the join creation fails
virtual void com::pcbsys::nirvana::nAdminAPI::nLeafNode::closed ( nRealmNode pClose)
virtual

Called when the nRealmNode is closed.

Parameters
*pNodeThe nRealmNode which has been closed.
virtual void com::pcbsys::nirvana::nAdminAPI::nLeafNode::copy ( nNode pToNode,
std::string &  toName,
bool  bWaitForCompletion,
nACL pAcl,
nCommandStatus pCmdStatus 
)
virtual

Copies this nLeafNode (channel or queue) to a new nLeafNode (channel or queue) within the nRealmNode passed as a parameter, with the specified channel name.

Using this method, allows nLeafNodes to be copied to other realms within the namespace

The channel name used for the new copied nLeafNode must be unique in the destination realm

Parameters
*pToNodeThe nRealmNode to copy the channel to
toNameThe name of the new nLeafNode (channel or queue)
bWaitForCompletionSpecifies whether the method returns before copy operation has completed
*pAclan optional initial acl object that will be set on the object being copied
*pCmdStatusan optional nCommandStatus object that will inform you of the operation status
Exceptions
nUnsupportedCopyExceptionThrown if copy is not supported
Deprecated:
As of version 2.0

Implements com::pcbsys::nirvana::nAdminAPI::nCopyable.

virtual void com::pcbsys::nirvana::nAdminAPI::nLeafNode::copy ( std::string &  toName,
bool  bWaitForCompletion,
nACL pAcl,
nCommandStatus pCmdStatus 
)
virtual

Copies this nLeafNode (channel or queue) to a new nLeafNode (channel or queue) within same realm with the specified channel name.

The channel name used for the new copied nLeafNode must be unique in the realm

Parameters
toNameThe name of the new nLeafNode (channel or queue)
bWaitForCompletionSpecifies whether the method returns before copy operation has completed
*pAclan optional initial acl object that will be set on the object being copied
*pCmdStatusan optional nCommandStatus object that will inform you of the operation status
Exceptions
nUnsupportedCopyExceptionThrown if copy is not supported
Deprecated:
As of version 2.0

Implements com::pcbsys::nirvana::nAdminAPI::nCopyable.

virtual void com::pcbsys::nirvana::nAdminAPI::nLeafNode::copy ( nNode pToNode,
bool  bWaitForCompletion,
nChannelAttributes pAttrib,
nACL pAcl,
nCommandStatus pCmdStatus 
)
virtual

Copies this nLeafNode (channel or queue) to a new nLeafNode (channel or queue) within the nRealmNode passed as a parameter, with the specified channel attributes.

Using this method, allows nLeafNodes to be copied to other realms within the namespace

Attributes can be different on the copied channel, such as ttl, capacity and type

Parameters
*pToNodeThe nRealmNode to copy the channel to
bWaitForCompletionSpecifies whether the method returns before copy operation has completed
*pAttribThe channel attributes of the new nLeafNode
*pAclan optional initial acl object that will be set on the object being copied
*pCmdStatusan optional nCommandStatus object that will inform you of the operation status
Exceptions
nUnsupportedCopyExceptionThrown if copy is not supported

Implements com::pcbsys::nirvana::nAdminAPI::nCopyable.

virtual void com::pcbsys::nirvana::nAdminAPI::nLeafNode::copy ( bool  bWaitForCompletion,
nChannelAttributes pAttrib,
nACL pAcl,
nCommandStatus pCmdStatus 
)
virtual

Copies this nLeafNode (channel or queue) to a new nLeafNode (channel or queue) within the same realm node with the specified channel attributes.

Attributes can be different on the copied channel, such as ttl, capacity and type

Parameters
bWaitForCompletionSpecifies whether the method returns before copy operation has completed
*pAttribThe channel attributes of the new nLeafNode
*pAclan optional initial acl object that will be set on the object being copied
*pCmdStatusan optional nCommandStatus object that will inform you of the operation status
Exceptions
nUnsupportedCopyExceptionThrown if copy is not supported

Implements com::pcbsys::nirvana::nAdminAPI::nCopyable.

virtual nACLEntry* com::pcbsys::nirvana::nAdminAPI::nLeafNode::createACLEntry ( const std::string &  subject,
BitArray *  pBs 
)
virtual

Adds a specific acl entry to the leaf node acl.

Parameters
*pEntriesAn nACL list containing the subjects and permissions to add to the leaf node acl
Exceptions
nInsufficientPrivilegesExceptionIf the user is not permissioned to perform this operation
nNodeExceptionif the ACLs being set are invalid
nBaseAdminExceptionif unable to perform the operation, check the message for further information

Reimplemented from com::pcbsys::nirvana::nAdminAPI::nNode.

virtual nACLEntry* com::pcbsys::nirvana::nAdminAPI::nLeafNode::createACLEntry ( nSecurityGroup grp,
BitArray *  pBs 
)
virtual

This method creates an ACL entry.

Parameters
grpthe security group to create the ACL for
*pBsthe BitArray representing the ACL settings to use.
Exceptions
ExceptionIf the name space is not completed with in the time specified

Reimplemented from com::pcbsys::nirvana::nAdminAPI::nNode.

virtual void com::pcbsys::nirvana::nAdminAPI::nLeafNode::deleteJoin ( nNode pNode)
virtual

This method deletes the join between nodes.

This is only supported where the source node is a channel

Parameters
pNodethe nNode object this node is joined to
Exceptions
nUnsupportedJoinExceptionthrown if join is not supported (e.g. from queues)
nBaseAdminExceptionis thrown if the join deletion fails
virtual void com::pcbsys::nirvana::nAdminAPI::nLeafNode::delListener ( )
virtual

Removes the registered listener from the channel so no further callbacks are made to the listener.

Exceptions
nBaseAdminExceptionif the user is not permitted to access these lists
See Also
nConnectionListener
virtual void com::pcbsys::nirvana::nAdminAPI::nLeafNode::freeUnusedSpace ( )
virtual

Requests that the Realm frees the unused space within this channel/queue.

If the Channel/Queue has a large number of events it could take some time to perform. It is recommended to do this during quiet periods.

Exceptions
nBaseClientExceptionIf the user does not have the permission to request this
const std::string& com::pcbsys::nirvana::nAdminAPI::nLeafNode::getAbsolutePath ( )
virtual

This function walks the tree to the root to generate a fully qualified name for this node.

Returns
String full path and name

Reimplemented from com::pcbsys::nirvana::nAdminAPI::nNode.

virtual nACL* com::pcbsys::nirvana::nAdminAPI::nLeafNode::getACLs ( )
virtual

Retrieves the channel/queues ACLs which can then be modified and committed with the setACLs() function.

Returns
The list of nChannelACLEntry in a nACL object
Exceptions
nBaseAdminExceptionIf this user is not permitted to view this data
virtual nChannelAttributes* com::pcbsys::nirvana::nAdminAPI::nLeafNode::getAttributes ( )
virtual

Returns the channel attributes for this channel/queue.

See Also
com.pcbsys.nirvana.client.nChannelAttributes
Returns
nChannelAttributes
virtual double com::pcbsys::nirvana::nAdminAPI::nLeafNode::getCacheHitRatio ( )
virtual

Retreives the channel/queues cache ratio.

This ratio represents the (number of cache hits)/(Total Access). This cache is only active when the channel/queue is a persistant store and the server caches the event instead of re-reading it from the store again.

Returns
float value
virtual double com::pcbsys::nirvana::nAdminAPI::nLeafNode::getConnectionRate ( )
virtual

The number of subscriptions made to this store per second.

Returns
float value
virtual double com::pcbsys::nirvana::nAdminAPI::nLeafNode::getConsumedRate ( )
virtual

The number of events published per second.

Returns
float value
virtual longlong com::pcbsys::nirvana::nAdminAPI::nLeafNode::getCurrentNoOfConnections ( )
virtual

Retrieves the current number of connections to this channel.

Returns
long value
virtual longlong com::pcbsys::nirvana::nAdminAPI::nLeafNode::getCurrentNumberOfEvents ( )
virtual

Returns the number of events within the channel/queue.

Returns
long value
virtual longlong com::pcbsys::nirvana::nAdminAPI::nLeafNode::getFanoutTime ( )
virtual

The total number of milliseconds it takes to fanout each event to all consumers.

Returns
long value
virtual std::map<nLeafNode*, nJoinDetails*>& com::pcbsys::nirvana::nAdminAPI::nLeafNode::getInboundJoins ( )
virtual

Returns a map of nJoinDetails objects containing information about channels sending events to this channel.

Returns
Map of joins for this leaf node
See Also
nJoinDetails
virtual longlong com::pcbsys::nirvana::nAdminAPI::nLeafNode::getLastEID ( )
virtual

Returns the last EID that was used for the channel/queue.

Returns
long value
virtual int com::pcbsys::nirvana::nAdminAPI::nLeafNode::getOutboundJoinCount ( )
virtual

Returns a count of outbound joins this channel has.

Returns
count of joins
See Also
nJoinDetails
virtual std::map<std::string, nJoinDetails*>& com::pcbsys::nirvana::nAdminAPI::nLeafNode::getOutboundJoins ( )
virtual

Returns a map of nJoinDetails objects containing information about channels that this channel will pass events to.

Returns
map of joins for this leaf node
See Also
nJoinDetails
virtual int com::pcbsys::nirvana::nAdminAPI::nLeafNode::getPercentageFreeInStore ( )
virtual

Returns the amount of free space within a store as a percentage of the overall space used.

Returns
int value
virtual double com::pcbsys::nirvana::nAdminAPI::nLeafNode::getPublishRate ( )
virtual

The number of events published per second.

Returns
int value
virtual nRealmNode* com::pcbsys::nirvana::nAdminAPI::nLeafNode::getRealm ( )
virtual

Returns the Realm Node this leaf node is associated with.

Please note this might not be the root of the namespace but a federated realm.

Returns
nRealmNode value
virtual longlong com::pcbsys::nirvana::nAdminAPI::nLeafNode::getTotalConsumed ( )
virtual

Returns the total number of events that this channel has delivered to subscribers.

Returns
long value
virtual longlong com::pcbsys::nirvana::nAdminAPI::nLeafNode::getTotalNoOfConnections ( )
virtual

Returns the total number of connections that this channel has had since the realm started.

Returns
long value
virtual longlong com::pcbsys::nirvana::nAdminAPI::nLeafNode::getTotalPublished ( )
virtual

Returns the total number of events published/pushed to this channel/queue since the realm has started.

Returns
long value
virtual longlong com::pcbsys::nirvana::nAdminAPI::nLeafNode::getUsedSpace ( )
virtual

Returns the number of bytes that this channel/queue consumes on the server.

Returns
long value
virtual bool com::pcbsys::nirvana::nAdminAPI::nLeafNode::isChannel ( )
virtual

Returns true if this node is a channel.

Returns
a bool, true if the node is a channel
virtual bool com::pcbsys::nirvana::nAdminAPI::nLeafNode::isClusterWide ( )
virtual

Returns true if this represents a nirvana channel or queue that is part of a cluster.

Returns
boolean value
virtual bool com::pcbsys::nirvana::nAdminAPI::nLeafNode::isQueue ( )
virtual

Returns true if this node is a queue.

Returns
a bool, true if the node is a queue
virtual bool com::pcbsys::nirvana::nAdminAPI::nLeafNode::IsRemovable ( )
virtual

Returns true if this node is removable.

Returns
a bool, true if the node is removable

Reimplemented from com::pcbsys::nirvana::nAdminAPI::nNode.

virtual void com::pcbsys::nirvana::nAdminAPI::nLeafNode::join ( nNode pToNode,
bool  bIsRouted,
int  hopcount,
const std::string &  selector 
)
virtual

This method enables the joining of the object from one node to another, specifying a selector, and a maximum hop count for the events.

This is only supported on channel objects.

Parameters
*pToNodethe nNode object to join this node to
bIsRoutedReserved for future use.
hopcountif an event is published directly to this node (i.e. does not arrive here through another join), this is the maximum number of hops it will follow
selectora message selector specifying a filter for this message route
Exceptions
nUnsupportedJoinExceptionthrown if join is not supported (e.g. on queues)
nBaseAdminExceptionis thrown if the join creation fails

Implements com::pcbsys::nirvana::nAdminAPI::nJoinable.

virtual void com::pcbsys::nirvana::nAdminAPI::nLeafNode::join ( nNode pToNode,
bool  bIsRouted,
int  hopcount,
const std::string &  selector,
bool  allowPurge 
)
virtual

This method enables the joining of the object from one node to another, specifying a selector, and a maximum hop count for the events.

This is only supported on channel objects.

Parameters
*pToNodethe nNode object to join this node to
bIsRoutedReserved for future use.
hopcountif an event is published directly to this node (i.e. does not arrive here through another join), this is the maximum number of hops it will follow
selectora message selector specifying a filter for this message route
allowPurgewhether purges will be propagated to the joined channel
Exceptions
nUnsupportedJoinExceptionthrown if join is not supported (e.g. on queues)
nBaseAdminExceptionis thrown if the join creation fails

Implements com::pcbsys::nirvana::nAdminAPI::nJoinable.

virtual void com::pcbsys::nirvana::nAdminAPI::nLeafNode::join ( nNode pToNode,
const std::string &  selector 
)
virtual

This method enables the joining of the object from one node to another, specifying a selector for filtered joins.

Parameters
*pToNodethe nNode object to join this node to
selectorthe filter to be applied to the join
Exceptions
nUnsupportedJoinExceptionthrown if join is not supported (e.g. on queues)
nBaseAdminExceptionis thrown if the join creation fails

Implements com::pcbsys::nirvana::nAdminAPI::nJoinable.

void com::pcbsys::nirvana::nAdminAPI::nLeafNode::modACLEntries ( nACL pEntries)

modifies a specific acl entry's permissions in the leaf node acl.

Parameters
*pEntriesAn nACL entry containing the subject and permissions to modify in the leaf node acl
Exceptions
nInsufficientPrivilegesExceptionIf the user is not permitted to perform this operation
nNodeExceptionif the ACLs being set are invalid
nBaseAdminExceptionif unable to perform the operation, check the message for further information
void com::pcbsys::nirvana::nAdminAPI::nLeafNode::modACLEntry ( nACLEntry pEntry)

modifies a specific acl entry's permissions in the leaf node acl.

Parameters
*pEntryAn nACL entry containing the subject and permissions to modify in the leaf node acl
Exceptions
nInsufficientPrivilegesExceptionIf the user is not permitted to perform this operation
nNodeExceptionif the ACLs being set are invalid
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com::pcbsys::nirvana::nAdminAPI::nLeafNode::remove ( bool  removeChildren)
virtual

This method removes this nLeafNode (channel or queue) from its parent nRealmNode.

Parameters
removeChildrena boolean specifying whether siblings should be removed too. Specify false, as nLeafNodes do not have children
Exceptions
nUnsupportedRemoveExceptionthrown if join is not supported (e.g. on queues)
nNodeExceptionis thrown if an error occurs in the remove operation
See Also
nRealmNode
nLinkNode

Implements com::pcbsys::nirvana::nAdminAPI::nRemovable.

void com::pcbsys::nirvana::nAdminAPI::nLeafNode::removeACLEntries ( nACL pEntries)

removes a specific acl entry from the leaf node acl.

Parameters
*pEntriesAn nACL list containing the subjects and permissions to remove from the leaf node acl
Exceptions
nInsufficientPrivilegesExceptionIf the user is not permitted to perform this operation
nNodeExceptionif the ACLs being set are invalid
nBaseAdminExceptionif unable to perform the operation, check the message for further information
void com::pcbsys::nirvana::nAdminAPI::nLeafNode::removeACLEntry ( nACLEntry pEntry)

removes a specific acl entry from the leaf node acl.

Parameters
*pEntryAn nACL entry containing the subject and permissions to remove from the leaf node acl
Exceptions
nInsufficientPrivilegesExceptionIf the user is not permitted to perform this operation
nNodeExceptionif the ACLs being set are invalid
nBaseAdminExceptionif unable to perform the operation, check the message for further information
virtual void com::pcbsys::nirvana::nAdminAPI::nLeafNode::setACLs ( nACL pAcl)
virtual

Commits the ACL passed in with the Realm Server.

This causes these ACLs to be active once the function returns. The nACL object can be retrieved by calling the getACLs() function which returns the channel/queues current list.

Parameters
*pAclA nACL containing nChannelACLEntry
Exceptions
nInsufficientPrivilegesExceptionIf the user is not permitted to perform this operation
nNodeExceptionif the ACLs being set are invalid
nBaseAdminExceptionif unable to perform the operation, check the message for further information