Connection object. More...
Public Member Functions | |
def | __init__ |
def | __str__ |
def | disconnect |
def | has_port |
def | id |
def | name |
def | owner |
def | ports |
def | properties |
def | reparse |
Private Member Functions | |
def | _parse |
Private Attributes | |
_id | |
_mutex | |
_name | |
_obj | |
_owner | |
_ports | |
_properties |
Connection object.
An object representing a connection between two or more ports.
def rtctree.ports.Connection.__init__ | ( | self, | |
conn_profile_obj = None , |
|||
owner = None , |
|||
args, | |||
kwargs | |||
) |
def rtctree.ports.Connection.__str__ | ( | self | ) |
def rtctree.ports.Connection._parse | ( | self | ) | [private] |
def rtctree.ports.Connection.disconnect | ( | self | ) |
def rtctree.ports.Connection.has_port | ( | self, | |
port | |||
) |
def rtctree.ports.Connection.id | ( | self | ) |
def rtctree.ports.Connection.name | ( | self | ) |
def rtctree.ports.Connection.owner | ( | self | ) |
def rtctree.ports.Connection.ports | ( | self | ) |
The list of ports involved in this connection. The result is a list of tuples, (port name, port object). Each port name is a full path to the port (e.g. /localhost/Comp0.rtc:in) if this Connection object is owned by a Port, which is in turn owned by a Component in the tree. Otherwise, only the port's name will be used (in which case it will be the full port name, which will include the component name, e.g. 'ConsoleIn0.in'). The full path can be used to find ports in the tree. If, for some reason, the owner node of a port cannot be found, that entry in the list will contain ('Unknown', None). This typically means that a component's name has been clobbered on the name server. This list will be created at the first reference to this property. This means that the first reference may be delayed by CORBA calls, but others will return quickly (unless a delayed reparse has been triggered).
def rtctree.ports.Connection.properties | ( | self | ) |
def rtctree.ports.Connection.reparse | ( | self | ) |
rtctree::ports.Connection::_id [private] |
rtctree::ports.Connection::_mutex [private] |
rtctree::ports.Connection::_name [private] |
rtctree::ports.Connection::_obj [private] |
rtctree::ports.Connection::_owner [private] |
rtctree::ports.Connection::_ports [private] |
rtctree::ports.Connection::_properties [private] |