Public Member Functions | Public Attributes | Static Public Attributes | List of all members
rosbridge_server.tcp_handler.RosbridgeTcpSocket Class Reference
Inheritance diagram for rosbridge_server.tcp_handler.RosbridgeTcpSocket:
Inheritance graph
[legend]

Public Member Functions

def finish (self)
 
def handle (self)
 
def recv_bson (self)
 
def recvall (self, n)
 
def send_message (self, message=None)
 
def setup (self)
 

Public Attributes

 protocol
 

Static Public Attributes

bool bson_only_mode = False
 
bool busy = False
 
 client_count_pub = None
 
int client_id_seed = 0
 
int clients_connected = 0
 
int delay_between_messages = 0
 
int fragment_timeout = 600
 
int incoming_buffer = 65536
 
 max_message_size = None
 
list queue = []
 
int socket_timeout = 10
 
float unregister_timeout = 10.0
 

Detailed Description

TCP Socket server for rosbridge

Definition at line 10 of file tcp_handler.py.

Member Function Documentation

def rosbridge_server.tcp_handler.RosbridgeTcpSocket.finish (   self)
Called when TCP connection finishes

Definition at line 113 of file tcp_handler.py.

def rosbridge_server.tcp_handler.RosbridgeTcpSocket.handle (   self)
Listen for TCP messages

Definition at line 87 of file tcp_handler.py.

def rosbridge_server.tcp_handler.RosbridgeTcpSocket.recv_bson (   self)

Definition at line 65 of file tcp_handler.py.

def rosbridge_server.tcp_handler.RosbridgeTcpSocket.recvall (   self,
  n 
)

Definition at line 54 of file tcp_handler.py.

def rosbridge_server.tcp_handler.RosbridgeTcpSocket.send_message (   self,
  message = None 
)
Callback from rosbridge

Definition at line 124 of file tcp_handler.py.

def rosbridge_server.tcp_handler.RosbridgeTcpSocket.setup (   self)

Definition at line 33 of file tcp_handler.py.

Member Data Documentation

bool rosbridge_server.tcp_handler.RosbridgeTcpSocket.bson_only_mode = False
static

Definition at line 31 of file tcp_handler.py.

bool rosbridge_server.tcp_handler.RosbridgeTcpSocket.busy = False
static

Definition at line 15 of file tcp_handler.py.

rosbridge_server.tcp_handler.RosbridgeTcpSocket.client_count_pub = None
static

Definition at line 19 of file tcp_handler.py.

int rosbridge_server.tcp_handler.RosbridgeTcpSocket.client_id_seed = 0
static

Definition at line 17 of file tcp_handler.py.

int rosbridge_server.tcp_handler.RosbridgeTcpSocket.clients_connected = 0
static

Definition at line 18 of file tcp_handler.py.

int rosbridge_server.tcp_handler.RosbridgeTcpSocket.delay_between_messages = 0
static

Definition at line 28 of file tcp_handler.py.

int rosbridge_server.tcp_handler.RosbridgeTcpSocket.fragment_timeout = 600
static

Definition at line 26 of file tcp_handler.py.

int rosbridge_server.tcp_handler.RosbridgeTcpSocket.incoming_buffer = 65536
static

Definition at line 22 of file tcp_handler.py.

rosbridge_server.tcp_handler.RosbridgeTcpSocket.max_message_size = None
static

Definition at line 29 of file tcp_handler.py.

rosbridge_server.tcp_handler.RosbridgeTcpSocket.protocol

Definition at line 44 of file tcp_handler.py.

list rosbridge_server.tcp_handler.RosbridgeTcpSocket.queue = []
static

Definition at line 16 of file tcp_handler.py.

int rosbridge_server.tcp_handler.RosbridgeTcpSocket.socket_timeout = 10
static

Definition at line 23 of file tcp_handler.py.

float rosbridge_server.tcp_handler.RosbridgeTcpSocket.unregister_timeout = 10.0
static

Definition at line 30 of file tcp_handler.py.


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


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Fri May 10 2019 02:17:05