Name server node object. More...
Public Member Functions | |
def | __init__ |
def | is_nameserver |
def | ns_object |
def | orb |
Private Member Functions | |
def | _connect_to_naming_service |
def | _parse_server |
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.
Reimplemented from rtctree.directory.Directory.
Definition at line 42 of file nameserver.py.
def rtctree.nameserver.NameServer._connect_to_naming_service | ( | self, | |
address | |||
) | [private] |
Definition at line 81 of file nameserver.py.
def rtctree.nameserver.NameServer._parse_server | ( | self, | |
address, | |||
orb, | |||
filter = [] |
|||
) | [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)?
Reimplemented from rtctree.node.TreeNode.
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.
Reimplemented from rtctree.node.TreeNode.
Definition at line 62 of file nameserver.py.
rtctree::nameserver.NameServer::_address [private] |
Definition at line 73 of file nameserver.py.
Definition at line 81 of file nameserver.py.
rtctree::nameserver.NameServer::_ns_obj [private] |
Definition at line 81 of file nameserver.py.
rtctree::nameserver.NameServer::_orb [private] |
Definition at line 73 of file nameserver.py.