Public Member Functions | Private Member Functions | Private Attributes
rtctree.directory.Directory Class Reference

Directory node object. More...

Inheritance diagram for rtctree.directory.Directory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def context
def is_directory
def reparse
def unbind

Private Member Functions

def _parse_context
def _process_binding

Private Attributes

 _context

Detailed Description

Directory node object.

Node representing a naming context on a name server.

Name servers contain contexts (including the root context) and objects. For
us, contexts are directories and objects are managers and components. A
directory context may specialise as a name server context, in which case
it represents the root context of a name server.

Definition at line 41 of file directory.py.


Constructor & Destructor Documentation

def rtctree.directory.Directory.__init__ (   self,
  name = None,
  parent = None,
  children = None,
  filter = [],
  args,
  kwargs 
)
Constructor. Calls the TreeNode constructor.

Reimplemented in rtctree.nameserver.NameServer.

Definition at line 50 of file directory.py.


Member Function Documentation

def rtctree.directory.Directory._parse_context (   self,
  context,
  orb,
  filter = [] 
) [private]

Definition at line 102 of file directory.py.

def rtctree.directory.Directory._process_binding (   self,
  binding,
  orb,
  filter 
) [private]

Definition at line 123 of file directory.py.

The object representing this naming context.

Definition at line 92 of file directory.py.

Is this node a directory?

Reimplemented from rtctree.node.TreeNode.

Definition at line 98 of file directory.py.

Reparse all children of this directory.

This effectively rebuilds the tree below this node.

This operation takes an unbounded time to complete; if there are a lot
of objects registered below this directory's context, they will all
need to be parsed.

Definition at line 56 of file directory.py.

def rtctree.directory.Directory.unbind (   self,
  name 
)
Unbind an object from the context represented by this directory.

Warning: this is a dangerous operation. You may unlink an entire
section of the tree and be unable to recover it. Be careful what you
unbind.

The name should be in the format used in paths. For example,
'manager.mgr' or 'ConsoleIn0.rtc'.

Definition at line 69 of file directory.py.


Member Data Documentation

Definition at line 102 of file directory.py.


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


rtctree
Author(s): Geoffrey Biggs
autogenerated on Wed Aug 26 2015 16:13:08