Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

DataDistributorAddress Class Reference

Data distributor address class containing static methods that govern the picking of multicast ports and addresses. More...

List of all members.

Static Public Member Functions

static port (name)
static lookup (port, server)


Detailed Description

Data distributor address class containing static methods that govern the picking of multicast ports and addresses.

Definition at line 111 of file DataDistributor.py.


Member Function Documentation

static lookup port  ,
server 
[static]
 

Static method for resolving the multicast port and group values.

Parameters:
port An integer containing the multicast port to use, e.g. from the port() method above, or None to indicate that the value will come from the supplied server string.
server A string that contains either the machine ID (test stand instance number), or <port><group IP or name>, or <group ip ="" or="" name=""> when a port number is also supplied. These last two can be used to override the values chosen by this class. The machine ID is a number from 0 - 999, where the hundreds digit represents the site ID and remainder (0-99) is the machine ID at the site. This latter portion is what's used.
Returns:
A list made up of the resolved port and group values.

static port name   )  [static]
 

Static method to select a physical multicast port to use based on the type of data that is desired.

Parameters:
name The name of the type of data that is desired. Choose from 'LAT_EBFdata', 'LAT_CMDdata', 'LAT_HSKdata' and 'LAT_MsgLog'.


The documentation for this class was generated from the following file:
Generated on Fri Jul 21 13:26:41 2006 for LATTE R04-12-00 by doxygen 1.4.3