Public Member Functions | Private Member Functions | Private Attributes | List of all members
rtctree.nameserver.NameServer Class Reference

Name server node object. More...

Inheritance diagram for rtctree.nameserver.NameServer:
Inheritance graph
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Member Function Documentation

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)?

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.

Member Data Documentation

rtctree.nameserver.NameServer._address
private

Definition at line 76 of file nameserver.py.

rtctree.nameserver.NameServer._full_address
private

Definition at line 84 of file nameserver.py.

rtctree.nameserver.NameServer._ns_obj
private

Definition at line 86 of file nameserver.py.

rtctree.nameserver.NameServer._orb
private

Definition at line 77 of file nameserver.py.


The documentation for this class was generated from the following file:


rtctree
Author(s): Geoffrey Biggs
autogenerated on Fri Jun 7 2019 21:56:24