instrumentserver.base#
Functions
|
|
|
|
|
|
|
Recieves the broadcast from a broadcast message. It should consist of 2 parts: |
|
|
|
|
|
broadcasts the message. It will send 2 messages: First the name with the send more flag, |
|
- instrumentserver.base.recvMultipart(socket: Socket) Tuple[str, Any][source]#
- Recieves the broadcast from a broadcast message. It should consist of 2 parts:
The first item is the name of the object sending it. Second part the message
- instrumentserver.base.sendBroadcast(socket: Socket, name: str, message: Any) None[source]#
- broadcasts the message. It will send 2 messages: First the name with the send more flag,
followed by the message.
- Parameters:
socket – The socket sending it.
name – The name of the object, it will be the first part.
messages – The data to send.