bpod_core.ipc

Inter-process Communication, service discovery and related.

Functions

discover

Discover a device/service on the local network matching given properties.

iter_services

Discover all services matching the given type and properties.

Classes

ClientInfo

Identifying information about a connected client.

ErrorData

A struct representing error data.

LocalServiceAdvertisement

File-based local service advertisement for IPC discovery.

LocalServiceInfo

Information about a locally advertised service.

MessageKind

The types of messages exchanged between host and clients.

ServiceBase

Base class to ServiceHost and ServiceClient.

ServiceClient

A client for communicating with ServiceHost.

ServiceEvent

A service discovery event yielded by iter_services().

ServiceHost

A ZeroMQ host providing REQ/REP and PUB/SUB sockets with service discovery.

ServiceIterator

Lazy iterator for service discovery events.

WelcomeData

Socket addresses returned by the host during the handshake.

Exceptions

RemoteError

Exception representing an error on the remote side.

ServiceError

Base exception for IPC service errors.