Name server node object. More...
Public Member Functions | |
def | __init__ (self, orb=None, address=None, parent=None, filter=[], args, kwargs) |
def | is_nameserver (self) |
def | ns_object (self) |
def | orb (self) |
Public Member Functions inherited from rtctree.directory.Directory | |
def | __init__ (self, name=None, parent=None, children=None, filter=[], args, kwargs) |
def | context (self) |
def | is_directory (self) |
def | reparse (self) |
def | unbind (self, name) |
Public Member Functions inherited from rtctree.node.TreeNode | |
def | __init__ (self, name=None, parent=None, children=None, filter=[], dynamic=False, args, kwargs) |
def | __str__ (self) |
def | add_callback (self, event, cb, args=None) |
def | children (self) |
def | children_names (self) |
def | depth (self) |
def | dynamic (self) |
def | dynamic (self, dynamic) |
def | full_path (self) |
def | full_path_str (self) |
def | get_node (self, path) |
def | has_path (self, path) |
def | is_child (self, other_node) |
def | is_component (self) |
def | is_directory (self) |
def | is_manager (self) |
def | is_nameserver (self) |
def | is_parent (self, other_node) |
def | is_unknown (self) |
def | is_zombie (self) |
def | iterate (self, func, args=None, filter=[]) |
def | name (self) |
def | nameserver (self) |
def | orb (self) |
def | parent (self) |
def | parent (self, new_parent) |
def | parent_name (self) |
def | rem_callback (self, event, cb) |
def | remove_child (self, child) |
def | root (self) |
Private Member Functions | |
def | _connect_to_naming_service (self, address) |
def | _parse_server (self, address, orb, filter=[]) |
Private Attributes | |
_address | |
_full_address | |
_ns_obj | |
_orb | |
Name server node object.
Node representing a name server. Name server nodes should only be present in the first level of the tree. They can contain directories, managers and components as children. This class is a specialisation of the Directory class. It adds the functionality necessary for connecting to a name server and getting the root context.
Definition at line 31 of file nameserver.py.
def rtctree.nameserver.NameServer.__init__ | ( | self, | |
orb = None , |
|||
address = None , |
|||
parent = None , |
|||
filter = [] , |
|||
args, | |||
kwargs | |||
) |
Constructor. @param orb An orb object to use to connect to the name server. @param address The address of the name server. Used as the node name. @param parent The parent node of this node, if any. @param filter A list of paths to filter by.
Definition at line 43 of file nameserver.py.
|
private |
Definition at line 81 of file nameserver.py.
|
private |
Definition at line 73 of file nameserver.py.
def rtctree.nameserver.NameServer.is_nameserver | ( | self | ) |
Is this node a name server (specialisation of directory nodes)?
Definition at line 57 of file nameserver.py.
def rtctree.nameserver.NameServer.ns_object | ( | self | ) |
The object representing this name server.
Definition at line 68 of file nameserver.py.
def rtctree.nameserver.NameServer.orb | ( | self | ) |
The ORB used to access this name server.
Definition at line 62 of file nameserver.py.
|
private |
Definition at line 76 of file nameserver.py.
|
private |
Definition at line 84 of file nameserver.py.
|
private |
Definition at line 86 of file nameserver.py.
|
private |
Definition at line 77 of file nameserver.py.