All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Public Member Functions | Public Attributes
rocon_conductor.connection_manager.ConcertClient Class Reference

List of all members.

Public Member Functions

def __init__
def configuration_server
def has_platform_information
def invite_to_concert
def register_connection
def to_msg_format

Public Attributes

 app_manager_uri
 is_connected
 last_connection_timestamp
 platform_info
 platform_info_subscriber
 zconf_info

Detailed Description

  Initialises the client with zeroconf information and a few extra
  details from xmlrpc handshaking. These clients are actually created and info stored,
  even if they do not actually connect to the concert. I may have to revert on this decision later.

  @param master zconf_info : zero-configuration to store.

  @var zconf_info : the zero-configuration for this client [zeroconf_msgs.msg.DiscoveredService]
  @var connected  : connection status
  @var app_manager_uri : address and port number of the app manager's xmlrpc handshaking server.

Definition at line 48 of file connection_manager.py.


Constructor & Destructor Documentation

def rocon_conductor.connection_manager.ConcertClient.__init__ (   self,
  unique_name_generator,
  zconf_info = None 
)
  Can be initialised via zeroconf identification, or we get a connection out of the blue,
  in which case we have no zeroconf information.

Definition at line 60 of file connection_manager.py.


Member Function Documentation

Definition at line 168 of file connection_manager.py.

  Part of the android mess where we couldn't query xmlrpc server for 
  platform information - this lets us get it via ros publisher
  after the client is already connected.

Definition at line 126 of file connection_manager.py.

def rocon_conductor.connection_manager.ConcertClient.invite_to_concert (   self,
  concert_master_name 
)
  Sends an invite to the client (contact's the client's xmlrpc invitation server).
  
  @param concert_master_name : name of the concert master it is being invited to [str]
  @return bool : success or failure
  
  Assumptions: 
    1) for now we're always inviting, and it always works.

Definition at line 171 of file connection_manager.py.

  Used by the connections manager to save a timestamp highlighting
  when the last client connection was registered. 

Definition at line 117 of file connection_manager.py.

Definition at line 103 of file connection_manager.py.


Member Data Documentation

Definition at line 63 of file connection_manager.py.

Definition at line 63 of file connection_manager.py.

Definition at line 63 of file connection_manager.py.

Definition at line 63 of file connection_manager.py.

Definition at line 63 of file connection_manager.py.

Definition at line 63 of file connection_manager.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


graveyard_rocon_conductor
Author(s): Daniel Stonier
autogenerated on Wed Jan 23 2013 13:42:04