The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
obsolete_cma.HbRing Class Reference

Public Member Functions

def __init__
 
def join
 
def leave
 
def __len__
 
def __str__
 

Static Public Member Functions

def reset
 

Data Fields

 members
 
 memberlist
 
 ringtype
 
 name
 
 parentring
 

Static Public Attributes

int SWITCH = 1
 
int SUBNET = 2
 
int THEONERING = 3
 
dictionary ringnames = {}
 

Detailed Description

Definition at line 285 of file obsolete_cma.py.

Constructor & Destructor Documentation

def obsolete_cma.HbRing.__init__ (   self,
  name,
  ringtype,
  parentring = None 
)

Definition at line 293 of file obsolete_cma.py.

Member Function Documentation

def obsolete_cma.HbRing.__len__ (   self)

Definition at line 385 of file obsolete_cma.py.

References obsolete_cma.HbRing.memberlist.

def obsolete_cma.HbRing.__str__ (   self)

Definition at line 389 of file obsolete_cma.py.

References obsolete_cma.HbRing.name.

def obsolete_cma.HbRing.join (   self,
  drone 
)

Definition at line 307 of file obsolete_cma.py.

References obsolete_cma.HbRing._findringpartners(), obsolete_cma.HbRing.memberlist, obsolete_cma.HbRing.members, and obsolete_cma.HbRing.name.

Here is the call graph for this function:

def obsolete_cma.HbRing.leave (   self,
  drone 
)

Definition at line 333 of file obsolete_cma.py.

References obsolete_cma.HbRing.memberlist, obsolete_cma.HbRing.members, and obsolete_cma.HbRing.name.

Referenced by cma.hbring.HbRing.join().

Here is the caller graph for this function:

def obsolete_cma.HbRing.reset ( )
static

Definition at line 400 of file obsolete_cma.py.

Field Documentation

obsolete_cma.HbRing.memberlist
obsolete_cma.HbRing.members
obsolete_cma.HbRing.parentring

Definition at line 304 of file obsolete_cma.py.

dictionary obsolete_cma.HbRing.ringnames = {}
static

Definition at line 291 of file obsolete_cma.py.

obsolete_cma.HbRing.ringtype

Definition at line 302 of file obsolete_cma.py.

int obsolete_cma.HbRing.SUBNET = 2
static

Definition at line 288 of file obsolete_cma.py.

int obsolete_cma.HbRing.SWITCH = 1
static

Definition at line 287 of file obsolete_cma.py.

int obsolete_cma.HbRing.THEONERING = 3
static

Definition at line 289 of file obsolete_cma.py.


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