Internal use: Service-specific extensions for TCPROS support
Class |
|
Implementation of ROS Service. This intermediary class allows for more configuration of behavior than the Service class. |
Class |
|
Protocol Implementation for Service clients over TCPROS |
Class |
|
Protocol implementation for Services over TCPROS |
Function | convert |
Convert return value of function to response instance. The rules/precedence for this are: |
Function | isstring |
Undocumented |
Function | service |
Process incoming service connection. For use with TCPROSServer. Reads in service name from handshake and creates the appropriate service handler for the connection. @param sock: socket connection @type sock: socket @param client_addr: client address @type client_addr: (str, int) @param header: key/value pairs from handshake header @type header: dict @return: error string or None @rtype: str... |
Variable | logger |
Undocumented |
Convert return value of function to response instance. The rules/precedence for this are:
1. If the return type is the same as the response type, no conversion is done.
2. If the return type is a dictionary, it is used as a keyword-style initialization for a new response instance.
3. If the return type is not a list type, it is passed in as a single arg to a new response instance.
4. If the return type is a list/tuple type, it is used as a args-style initialization for a new response instance.
Process incoming service connection. For use with TCPROSServer. Reads in service name from handshake and creates the appropriate service handler for the connection. @param sock: socket connection @type sock: socket @param client_addr: client address @type client_addr: (str, int) @param header: key/value pairs from handshake header @type header: dict @return: error string or None @rtype: str