km3pipe.controlhost

A set of classes and tools wich uses the ControlHost protocol.

Module Contents

Classes

Client

The ControlHost client

Message

The representation of a ControlHost message.

Tag

Represents the tag in a ControlHost Prefix.

Prefix

The prefix of a ControlHost message.

Attributes

log

BUFFER_SIZE

km3pipe.controlhost.log[source]
km3pipe.controlhost.BUFFER_SIZE = 1024[source]
class km3pipe.controlhost.Client(host, port=5553)[source]

The ControlHost client

subscribe(tag, mode='any')[source]
unsubscribe(tag, mode='any')[source]
put_message(tag, data)[source]

Send data to the ligier with a given tag

get_message()[source]
class km3pipe.controlhost.Message(tag, message=b'')[source]

The representation of a ControlHost message.

property data[source]
class km3pipe.controlhost.Tag(data=None)[source]

Represents the tag in a ControlHost Prefix.

property data[source]

The byte data

SIZE = 8[source]
class km3pipe.controlhost.Prefix(tag=None, length=None, data=None, timestamp=None)[source]

The prefix of a ControlHost message.

property data[source]
SIZE = 16[source]