class UDPROSTransport(rospy.transport.Transport):
Constructor: UDPROSTransport(protocol, name, header)
Undocumented
Method | __init__ |
ctor @param name: topic name @type name: str: @param protocol: protocol implementation @param protocol: UDPROSTransportProtocol @param header: handshake header if transport handshake header was already read off of transport... |
Method | close |
Undocumented |
Method | receive |
Undocumented |
Method | receive |
block until messages are read off of socket @return: list of newly received messages @rtype: [Msg] @raise TransportException: if unable to receive message due to error |
Method | send |
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. @param msg: message to send @type msg: Msg @param seq: sequence number for message @type seq: int @raise TransportException: if error occurred sending message... |
Method | write |
Write raw data to transport @raise TransportInitialiationError: could not be initialized @raise TransportTerminated: no longer open for publishing |
Class Variable | transport |
Undocumented |
Instance Variable | done |
Undocumented |
Instance Variable | header |
Undocumented |
ctor @param name: topic name @type name: str: @param protocol: protocol implementation @param protocol: UDPROSTransportProtocol @param header: handshake header if transport handshake header was already read off of transport. @type header: dict @throws TransportInitError: if transport cannot be initialized according to arguments
block until messages are read off of socket @return: list of newly received messages @rtype: [Msg] @raise TransportException: if unable to receive message due to error
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. @param msg: message to send @type msg: Msg @param seq: sequence number for message @type seq: int @raise TransportException: if error occurred sending message