Public Member Functions | Public Attributes | Private Attributes
rocon_gateway.utils.Connection Class Reference

Rule. More...

List of all members.

Public Member Functions

def __eq__
def __init__
def __ne__
def __repr__
def __str__
def hasSameRule
def inConnectionList

Public Attributes

 rule
 type_info
 xmlrpc_uri

Private Attributes

 __dict__

Detailed Description

Rule.

  An object that represents a connection containing all the gory details
  about a connection, allowing a connection to be passed through to a
  foreign gateway

   - rule (gateway_msgs.msg.Rule) (containing type,name,node)
   - type_info              (msg type for pubsub or service api for services)
   - xmlrpc_uri             (the xmlrpc node uri for the connection)

Definition at line 38 of file utils.py.


Constructor & Destructor Documentation

def rocon_gateway.utils.Connection.__init__ (   self,
  rule,
  type_info,
  xmlrpc_uri 
)
  @param type_info : either topic_type (pubsub), service api (service) or ??? (action)
  @type string

Definition at line 50 of file utils.py.


Member Function Documentation

def rocon_gateway.utils.Connection.__eq__ (   self,
  other 
)

Definition at line 59 of file utils.py.

def rocon_gateway.utils.Connection.__ne__ (   self,
  other 
)

Definition at line 65 of file utils.py.

Definition at line 76 of file utils.py.

Definition at line 68 of file utils.py.

def rocon_gateway.utils.Connection.hasSameRule (   self,
  connection 
)
  Checks for equivalency regardless of type_info and xmlrpc_uri.

  @param connection : connection to compare with
  @type utils.Connection
  @return true if equivalent, false otherwise
  @rtype Bool

Definition at line 94 of file utils.py.

def rocon_gateway.utils.Connection.inConnectionList (   self,
  connection_list 
)
  Checks to see if this connection has the same rule
  as an item in the given connection_list

  @param connection_list : connection list to trawl.
  @type utils.Connection[]
  @return true if this connection rule matches a connection rule in the list
  @rtype Bool

Definition at line 79 of file utils.py.


Member Data Documentation

Definition at line 59 of file utils.py.

Definition at line 53 of file utils.py.

Definition at line 53 of file utils.py.

Definition at line 53 of file utils.py.


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


rocon_gateway
Author(s): Daniel Stonier , Jihoon Lee , Piyush Khandelwal
autogenerated on Sat Jun 8 2019 18:48:44