oursin.client

Client for communicating with the echo server

Functions

change_id

Change the ID used to connect to the echo server

close

Disconnect from the echo server

connect

connected

disconnect

message

receive_camera_img

receive_camera_img_meta

receive_dock_callback

receive_neuron_callback

receive_volume_click

urchin_loaded_callback

Classes

bcolors

class bcolors[source]

Bases: object

WARNING = '\x1b[93m'
FAIL = '\x1b[91m'
connect()[source]
disconnect()[source]
message(data)[source]
receive_camera_img_meta(data)[source]
receive_camera_img(data)[source]
receive_volume_click(data)[source]
receive_neuron_callback(data)[source]
receive_dock_callback(data)[source]
urchin_loaded_callback(data)[source]
connected()[source]
close()[source]

Disconnect from the echo server

change_id(newID)[source]

Change the ID used to connect to the echo server

Parameters

newIDstring

New ID to connect with