Public Member Functions | Static Public Attributes | List of all members
rosbridge_library.rosbridge_protocol.RosbridgeProtocol Class Reference
Inheritance diagram for rosbridge_library.rosbridge_protocol.RosbridgeProtocol:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, client_id, parameters=None)
 
- Public Member Functions inherited from rosbridge_library.protocol.Protocol
def __init__ (self, client_id)
 
def add_capability (self, capability_class)
 
def deserialize (self, msg, cid=None)
 
def finish (self)
 
def incoming (self, message_string="")
 
def log (self, level, message, lid=None)
 
def outgoing (self, message)
 
def register_operation (self, opcode, handler)
 
def send (self, message, cid=None, compression="none")
 
def serialize (self, msg, cid=None)
 
def unregister_operation (self, opcode)
 

Static Public Attributes

 parameters = None
 
list rosbridge_capabilities = [CallService, Advertise, Publish, Subscribe, Defragment, AdvertiseService, ServiceResponse, UnadvertiseService]
 
- Static Public Attributes inherited from rosbridge_library.protocol.Protocol
bool bson_only_mode = False
 
string buffer = ""
 
bool busy = False
 
int delay_between_messages = 0
 
dictionary external_service_list = {}
 
 fragment_size = None
 
string old_buffer = ""
 
 parameters = None
 
 png = None
 

Additional Inherited Members

- Public Attributes inherited from rosbridge_library.protocol.Protocol
 bson_only_mode
 
 buffer
 
 capabilities
 
 client_id
 
 delay_between_messages
 
 old_buffer
 
 operations
 

Detailed Description

Adds the handlers for the rosbridge opcodes 

Definition at line 48 of file rosbridge_protocol.py.

Constructor & Destructor Documentation

◆ __init__()

def rosbridge_library.rosbridge_protocol.RosbridgeProtocol.__init__ (   self,
  client_id,
  parameters = None 
)

Definition at line 58 of file rosbridge_protocol.py.

Member Data Documentation

◆ parameters

rosbridge_library.rosbridge_protocol.RosbridgeProtocol.parameters = None
static

Definition at line 56 of file rosbridge_protocol.py.

◆ rosbridge_capabilities

list rosbridge_library.rosbridge_protocol.RosbridgeProtocol.rosbridge_capabilities = [CallService, Advertise, Publish, Subscribe, Defragment, AdvertiseService, ServiceResponse, UnadvertiseService]
static

Definition at line 50 of file rosbridge_protocol.py.


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


rosbridge_library
Author(s): Jonathan Mace
autogenerated on Fri Oct 21 2022 02:45:18