| Home | Trees | Indices | Help | 
 | 
|---|
|  | 
         object --+    
                  |    
transport.Transport --+
                      |
                     TCPROSTransport
Generic implementation of TCPROS exchange routines for both topics and services
| Instance Methods | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| [Msg] | 
 | ||
| 
 | |||
| 
 | |||
| 
 | |||
| Inherited from  | |||
| Class Variables | |
| transport_type =  | |
| Properties | |
| Inherited from  | 
| Method Details | 
| 
 ctor 
 | 
| 
 Get detailed connection information. Similar to getTransportInfo() in 'libros/transport/transport_tcp.cpp' e.g. TCPROS connection on port 41374 to [127.0.0.1:40623 on socket 6] 
 | 
| 
 Get descriptor for select 
 | 
| 
 Set the endpoint_id of this transport. Allows the endpoint_id to be set before the socket is initialized. | 
| 
 Set the socket for this transport 
 | 
| 
 Establish TCP connection to the specified address/port. connect() always calls write_header() and read_header() after the connection is made 
 | 
| 
 Convenience routine for services to send a message across a particular connection. NOTE: write_data is much more efficient if same message is being sent to multiple connections. Not threadsafe. 
 | 
| 
 Write raw data to transport 
 | 
| 
 block until messages are read off of socket 
 | 
| 
 Receive messages until shutdown 
 | 
| 
 close i/o and release resources 
 | 
| Home | Trees | Indices | Help | 
 | 
|---|
| Generated by Epydoc 3.0.1 on Mon Nov 2 03:52:39 2020 | http://epydoc.sourceforge.net |