com.pcbsys.nirvana.nAdminAPI.nJoinable Interface Reference

All classes that can be joined from one part of the namespace to another implement this interface. More...

Inheritance diagram for com.pcbsys.nirvana.nAdminAPI.nJoinable:
com.pcbsys.nirvana.nAdminAPI.nLeafNode

Public Member Functions

void join (nNode p_toNode, boolean p_isRouted, int p_hopcount, String p_Selector) throws nUnsupportedJoinException, nBaseAdminException
 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...
 
void join (nNode p_toNode, boolean p_isRouted, int p_hopcount, String p_Selector, boolean allowPurge) throws nUnsupportedJoinException, nBaseAdminException
 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...
 
void join (nNode p_toNode, String p_selector) throws nUnsupportedJoinException, nBaseAdminException
 This method enables the joining of the object from one node to another, specifying a selector for filtered joins. More...
 

Detailed Description

All classes that can be joined from one part of the namespace to another implement this interface.

This allows easy manipulation of the nirvana namespace objects that can be joined together i.e. channels

Member Function Documentation

void com.pcbsys.nirvana.nAdminAPI.nJoinable.join ( nNode  p_toNode,
boolean  p_isRouted,
int  p_hopcount,
String  p_Selector 
) throws nUnsupportedJoinException, nBaseAdminException

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

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
See Also
nLeafNode

Implemented in com.pcbsys.nirvana.nAdminAPI.nLeafNode.

void com.pcbsys.nirvana.nAdminAPI.nJoinable.join ( nNode  p_toNode,
boolean  p_isRouted,
int  p_hopcount,
String  p_Selector,
boolean  allowPurge 
) throws nUnsupportedJoinException, nBaseAdminException

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

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
allowPurgespecifies whether the join will permit purges to be propagated to all subsequent channels in the join path
Exceptions
nUnsupportedJoinExceptionthrown if join is not supported (e.g. on queues)
nBaseAdminExceptionis thrown if the join creation fails
See Also
nLeafNode

Implemented in com.pcbsys.nirvana.nAdminAPI.nLeafNode.

void com.pcbsys.nirvana.nAdminAPI.nJoinable.join ( nNode  p_toNode,
String  p_selector 
) throws nUnsupportedJoinException, nBaseAdminException

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_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
See Also
nLeafNode

Implemented in com.pcbsys.nirvana.nAdminAPI.nLeafNode.