com.pcbsys.nirvana.nAdminAPI.nLeafNode Class Reference

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

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 com.pcbsys.nirvana.client.Observable

Public Member Functions

void addACLEntries (nACL entries)
 Adds a list of acl entries to the leaf nodes acl More...
 
virtual void addACLEntry (nACLEntry entry)
 Adds a specific acl entry to the leaf node acl More...
 
virtual void addListener (nConnectionListener listener)
 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 p_toNode, String p_Selector)
 summary> This method enables the joining of the object from one node to another, specifying a selector for filtered joins More...
 
virtual void closed (nRealmNode node)
 Called when the nRealmNode is closed, for internal use only. More...
 
virtual void copy (nNode p_toNode, string p_toName, bool p_waitForComplete, nACL acl, nCommandStatus cmdStatus)
 Copies this leafNode (channel or queue) to a new LeafNode (channel or queue) within the RealmNode passed as a parameter, with the specfied channel name. More...
 
virtual void copy (string p_toName, bool p_waitForComplete, nACL acl, nCommandStatus cmdStatus)
 Copies this leafNode (channel or queue) to a new LeafNode (channel or queue) within same realm with the specfied channel name. More...
 
virtual void copy (nNode p_toNode, bool p_waitForComplete, nChannelAttributes p_attr, nACL acl, nCommandStatus cmdStatus)
 Copies this leafNode (channel or queue) to a new LeafNode (channel or queue) within the RealmNode passed as a parameter, with the specfied channel attributes. More...
 
virtual void copy (nNode p_toNode, bool p_waitForComplete, nChannelAttributes p_attr, nCommandStatus cmdStatus)
 Copies this leafNode (channel or queue) to a new LeafNode (channel or queue) within the RealmNode passed as a parameter, with the specfied channel attributes. More...
 
virtual void copy (bool p_waitForComplete, nChannelAttributes p_attr, nACL acl, nCommandStatus cmdStatus)
 Copies this leafNode (channel or queue) to a new LeafNode (channel or queue) within the same realm node with the specfied channel attributes. More...
 
virtual void deleteJoin (nNode p_toNode)
 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 nLeafNode findDeadEventStore ()
 Returns the dead event store if one exists More...
 
virtual void freeUnusedSpace ()
 Requests that the Realm frees the unused space within this channel/queue. More...
 
override string getAbsolutePath ()
 This function walks the tree to the root to generate a fully qualified name for this node More...
 
virtual nACL getACLs ()
 Retrieves the channel/queues ACLs which can then be modified and committed with the setACLs() function More...
 
virtual nChannelAttributes getAttributes ()
 Returns the channel attributes for this channel/queue. More...
 
virtual float getCacheHitRatio ()
 Retreives the channel/queues cache ratio. More...
 
virtual float getConnectionRate ()
 The number of subscriptions made to this store per second More...
 
virtual float getConsumedRate ()
 The number of events published per second More...
 
virtual long getCurrentNoOfConnections ()
 Retrieves the current number of connections to this channel More...
 
virtual long getCurrentNumberOfEvents ()
 Returns the number of events within the channel/queue More...
 
float getFanoutTime ()
 The total number of milliseconds it takes to fanout each event to all consumers More...
 
virtual
System.Collections.IEnumerator 
getInboundJoins ()
 Returns an IEnumerator of nJoinDetails objects containing information about channels sending events to this channel More...
 
virtual long getLastEID ()
 Returns the last EID that was used for the channel/queue More...
 
virtual int getOutboundJoinCount ()
 Returns a count of outbound joins from this channel More...
 
virtual
System.Collections.IEnumerator 
getOutboundJoins ()
 Returns an IEnumerator 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 float getPublishRate ()
 The number of events published per second More...
 
virtual nRealmNode getRealm ()
 Returns the Realm Node this leaf node is associated with. More...
 
virtual long getTotalConsumed ()
 Returns the total number of events that this channel has delivered to subscribers More...
 
virtual long getTotalNoOfConnections ()
 Returns the total number of connections that this channel has had since the realm started More...
 
virtual long getTotalPublished ()
 Returns the total number of events published/pushed to this channel/queue since the realm has started More...
 
virtual long getUsedSpace ()
 Returns the number of bytes that this channel/queue consumes on the server More...
 
virtual bool isChannel ()
 Returns true if this represents a nirvana 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 represents a nirvana queue More...
 
virtual void join (nNode p_toNode, bool p_isRouted, int p_hopcount, string p_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 p_toNode, bool p_isRouted, int p_hopcount, string p_Selector, bool allowPurges)
 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 p_toNode, string p_Selector)
 This method enables the joining of the object from one node to another, specifying a selector for filtered joins More...
 
void modACLEntries (nACL entry)
 Modifies the acl entries for the leaf nodes ACL More...
 
virtual void modACLEntry (nACLEntry entry)
 modifies a specific acl entry's permissions in the leaf node acl. More...
 
virtual void remove (bool removeChildren)
 This method removes this leafNode (channel or queue) from its parent RealmNode. More...
 
void removeACLEntries (nACL entries)
 Removes the acl entries from the leaf nodes ACL More...
 
virtual void removeACLEntry (nACLEntry entry)
 removes a specific acl entry from the leaf node acl. More...
 
virtual void setACLs (nACL acl)
 Commits the ACL passed in with the Realm Server. More...
 
- Public Member Functions inherited from com.pcbsys.nirvana.nAdminAPI.nNode
bool Equals (long aLong)
 Needed as part of the SortedObject interface. More...
 
override bool Equals (object item)
 Compares this object with the passed object More...
 
virtual nNode getParent ()
 Returns this nodes parent node. More...
 
virtual string getRelativePath (nNode top)
 This method returns the relative path from this node to the nNode passed. More...
 
virtual bool lessThan (long aLong)
 Needed as part of the SortedObject interface. More...
 
virtual bool lessThan (object item)
 Compares this object with the passed object. More...
 
- Public Member Functions inherited from com.pcbsys.nirvana.client.Observable
void addObserver (IObserver o)
 Adds an observer to the set of observers for this object, provided that it is not the same as some observer already in the set. More...
 
int countObservers ()
 Returns the number of observers of this Observable object. More...
 
void deleteObserver (IObserver o)
 Deletes an observer from the set of observers of this object. More...
 
void deleteObservers ()
 Clears the observer list so that this object no longer has any observers. More...
 
bool hasChanged ()
 Tests if this object has changed. More...
 
void notifyObservers ()
 If this object has changed, as indicated by the hasChanged method, then notify all of its observers and then call the clearChanged method to indicate that this object has no longer changed. More...
 
void notifyObservers (Object arg)
 If this object has changed, as indicated by the More...
 
 Observable ()
 Construct an Observable with zero Observers. More...
 

Static Public Member Functions

static nACL createACL ()
 This method allows you to construct a new nACL object, useful when creating new channels with an initial ACL list More...
 

Additional Inherited Members

- Protected Member Functions inherited from com.pcbsys.nirvana.client.Observable
void clearChanged ()
 Indicates that this object has no longer changed, or that it has already notified all of its observers of its most recent change, so that the hasChanged method will now return false. More...
 
void setChanged ()
 Marks this Observable object as having been changed; the hasChanged method will now return true. More...
 
- Properties inherited from com.pcbsys.nirvana.nAdminAPI.nNode
virtual string Name [get]
 Returns the generic name of this node within the namespace 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.

nNode

Member Function Documentation

void com.pcbsys.nirvana.nAdminAPI.nLeafNode.addACLEntries ( nACL  entries)

Adds a list of acl entries to the leaf nodes acl

Parameters
entriesan nACL object containing the list of nACLEntries to add to the existing ACL for this leaf node
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
virtual void com.pcbsys.nirvana.nAdminAPI.nLeafNode.addACLEntry ( nACLEntry  entry)
virtual

Adds a specific acl entry to the leaf node acl

Parameters
entryAn nACL entry containing the subject 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
virtual void com.pcbsys.nirvana.nAdminAPI.nLeafNode.addListener ( nConnectionListener  listener)
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
listenerthe connection listener to be added to the leaf node (channel or queue)

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  p_toNode,
String  p_Selector 
)

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

Parameters
p_toNodethe nNode object to join this node to
p_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  node)
virtual

Called when the nRealmNode is closed, for internal use only.

Parameters
nodeThe nRealmNode which has been closed
virtual void com.pcbsys.nirvana.nAdminAPI.nLeafNode.copy ( nNode  p_toNode,
string  p_toName,
bool  p_waitForComplete,
nACL  acl,
nCommandStatus  cmdStatus 
)
virtual

Copies this leafNode (channel or queue) to a new LeafNode (channel or queue) within the RealmNode passed as a parameter, with the specfied channel name.

  • Using this method, allows LeafNodes to be copied to other realms within the namespace
  • The channel name used for the new copied LeafNode must be unique in the destination realm
Parameters
p_toNodeThe nRealmNode to copy the channel to
p_toNameThe name of the new LeafNode (channel or queue)
p_waitForCompleteSpecifies whether the method returns before copy operation has completed
aclan optional initial acl object that will be set on the object being copied
cmdStatusan optional nCommandStatus object that will inform you of the operation status
Exceptions
nUnsupportedCopyExceptionThrown if copy is not supported

deprecated 3.

Implements com.pcbsys.nirvana.nAdminAPI.nCopyable.

virtual void com.pcbsys.nirvana.nAdminAPI.nLeafNode.copy ( string  p_toName,
bool  p_waitForComplete,
nACL  acl,
nCommandStatus  cmdStatus 
)
virtual

Copies this leafNode (channel or queue) to a new LeafNode (channel or queue) within same realm with the specfied channel name.

  • The channel name used for the new copied LeafNode must be unique in the realm
Parameters
p_toNameThe name of the new LeafNode (channel or queue)
p_waitForCompleteSpecifies whether the method returns before copy operation has completed
aclan optional initial acl object that will be set on the object being copied
cmdStatusan optional nCommandStatus object that will inform you of the operation status
Exceptions
nUnsupportedCopyExceptionThrown if copy is not supported

deprecated 4.

Implements com.pcbsys.nirvana.nAdminAPI.nCopyable.

virtual void com.pcbsys.nirvana.nAdminAPI.nLeafNode.copy ( nNode  p_toNode,
bool  p_waitForComplete,
nChannelAttributes  p_attr,
nACL  acl,
nCommandStatus  cmdStatus 
)
virtual

Copies this leafNode (channel or queue) to a new LeafNode (channel or queue) within the RealmNode passed as a parameter, with the specfied channel attributes.

  • Using this method, allows LeafNodes to be copied to other realms within the namespace
  • Attributes can be different on the copied channel, such as ttl, capacity and type
Parameters
p_toNodeThe nRealmNode to copy the channel to
p_waitForCompleteSpecifies whether the method returns before copy operation has completed
p_attrThe channel attributes of the new LeafNode
aclan optional initial acl object that will be set on the object being copied
cmdStatusan 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 ( nNode  p_toNode,
bool  p_waitForComplete,
nChannelAttributes  p_attr,
nCommandStatus  cmdStatus 
)
virtual

Copies this leafNode (channel or queue) to a new LeafNode (channel or queue) within the RealmNode passed as a parameter, with the specfied channel attributes.

  • Using this method, allows LeafNodes to be copied to other realms within the namespace
  • Attributes can be different on the copied channel, such as ttl, capacity and type
Parameters
p_toNodeThe nRealmNode to copy the channel to
p_waitForCompleteSpecifies whether the method returns before copy operation has completed
p_attrThe channel attributes of the new LeafNode
cmdStatusan optional nCommandStatus object that will inform you of the operation status
Exceptions
nUnsupportedCopyExceptionThrown if copy is not supported
virtual void com.pcbsys.nirvana.nAdminAPI.nLeafNode.copy ( bool  p_waitForComplete,
nChannelAttributes  p_attr,
nACL  acl,
nCommandStatus  cmdStatus 
)
virtual

Copies this leafNode (channel or queue) to a new LeafNode (channel or queue) within the same realm node with the specfied channel attributes.

  • Attributes can be different on the copied channel, such as ttl, capacity and type
Parameters
p_waitForCompleteSpecifies whether the method returns before copy operation has completed
p_attrThe channel attributes of the new LeafNode
aclan optional initial acl object that will be set on the object being copied
cmdStatusan optional nCommandStatus object that will inform you of the operation status
Exceptions
nUnsupportedCopyExceptionThrown if copy is not supported

Implements com.pcbsys.nirvana.nAdminAPI.nCopyable.

static nACL com.pcbsys.nirvana.nAdminAPI.nLeafNode.createACL ( )
static

This method allows you to construct a new nACL object, useful when creating new channels with an initial ACL list

  • Returns
    new nACL object
virtual void com.pcbsys.nirvana.nAdminAPI.nLeafNode.deleteJoin ( nNode  p_toNode)
virtual

This method deletes the join between nodes.

This is only supported where the source node is a channel

Parameters
p_toNodethe 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

nConnectionListener

Exceptions
nBaseAdminExceptionif the user is not permitted to access these lists
virtual nLeafNode com.pcbsys.nirvana.nAdminAPI.nLeafNode.findDeadEventStore ( )
virtual

Returns the dead event store if one exists

<return> The dead event store if one exists, null otherwise </return>

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
override 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 permissioned to view this data
virtual nChannelAttributes com.pcbsys.nirvana.nAdminAPI.nLeafNode.getAttributes ( )
virtual

Returns the channel attributes for this channel/queue.

com.pcbsys.nirvana.client.nChannelAttributes

Returns
nChannelAttributes
virtual float 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 float com.pcbsys.nirvana.nAdminAPI.nLeafNode.getConnectionRate ( )
virtual

The number of subscriptions made to this store per second

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

The number of events published per second

Returns
float value
virtual long com.pcbsys.nirvana.nAdminAPI.nLeafNode.getCurrentNoOfConnections ( )
virtual

Retrieves the current number of connections to this channel

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

Returns the number of events within the channel/queue

Returns
long value
float com.pcbsys.nirvana.nAdminAPI.nLeafNode.getFanoutTime ( )

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

Returns
long value
virtual System.Collections.IEnumerator com.pcbsys.nirvana.nAdminAPI.nLeafNode.getInboundJoins ( )
virtual

Returns an IEnumerator of nJoinDetails objects containing information about channels sending events to this channel

com.pcbsys.nirvana.nAdminAPI.nJoinDetails

Returns
IEnumerator
virtual long 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 from this channel

com.pcbsys.nirvana.nAdminAPI.nJoinDetails

Returns
count of joins
virtual System.Collections.IEnumerator com.pcbsys.nirvana.nAdminAPI.nLeafNode.getOutboundJoins ( )
virtual

Returns an IEnumerator of nJoinDetails objects containing information about channels that this channel will pass events to

com.pcbsys.nirvana.nAdminAPI.nJoinDetails

Returns
IEnumerator
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 float 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 long com.pcbsys.nirvana.nAdminAPI.nLeafNode.getTotalConsumed ( )
virtual

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

Returns
long value
virtual long 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 long 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 long 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 represents a nirvana channel

Returns
boolean value
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 represents a nirvana queue

Returns
boolean value
virtual void com.pcbsys.nirvana.nAdminAPI.nLeafNode.join ( nNode  p_toNode,
bool  p_isRouted,
int  p_hopcount,
string  p_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
p_toNodethe nNode object to join this node to
p_isRoutedReserved for future use.
p_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
p_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  p_toNode,
bool  p_isRouted,
int  p_hopcount,
string  p_Selector,
bool  allowPurges 
)
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
p_toNodethe nNode object to join this node to
p_isRoutedReserved for future use.
p_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
p_Selectora message selector specifying a filter for this message route
allowPurgeswhether 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  p_toNode,
string  p_Selector 
)
virtual

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

Parameters
p_toNodethe nNode object to join this node to
p_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  entry)

Modifies the acl entries for the leaf nodes ACL

Parameters
entriesan nACL object containing the list of nACLEntries to be modified for the existing ACL for this leaf node
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
virtual void com.pcbsys.nirvana.nAdminAPI.nLeafNode.modACLEntry ( nACLEntry  entry)
virtual

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

Parameters
entryAn nACL entry containing the subject and permissions to modify in 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
virtual void com.pcbsys.nirvana.nAdminAPI.nLeafNode.remove ( bool  removeChildren)
virtual

This method removes this leafNode (channel or queue) from its parent RealmNode.

Parameters
removeChildrena boolean specifying whether siblings should be removed too. Specify false, as leafNodes 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

nRealmNode nLinkNode

Implements com.pcbsys.nirvana.nAdminAPI.nRemovable.

void com.pcbsys.nirvana.nAdminAPI.nLeafNode.removeACLEntries ( nACL  entries)

Removes the acl entries from the leaf nodes ACL

Parameters
entriesan nACL object containing the list of nACLEntries to remove from the existing ACL for this leaf node
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
virtual void com.pcbsys.nirvana.nAdminAPI.nLeafNode.removeACLEntry ( nACLEntry  entry)
virtual

removes a specific acl entry from the leaf node acl.

Parameters
entryAn nACL entry containing the subject and permissions to remove from 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
virtual void com.pcbsys.nirvana.nAdminAPI.nLeafNode.setACLs ( nACL  acl)
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
aclA nACL containing nChannelACLEntry
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