slacm.ans module

Created on Sep 18, 2020

@author: esdev

class slacm.ans.AnswerPort(parent, name, spec)[source]

Bases: BiPort

Answer port

finalize(disco)[source]
get_identity()[source]

Retrieve identity of the sender of last message received

inSocket()[source]
recv()[source]

Receive a bytearray via the port.

recv_pyobj()[source]

Receive a Python object via the port.

send(msg)[source]

Send a bytearray via the port.

send_pyobj(msg)[source]

Send a Python object via the port.

set_identity(identity)[source]

Set the identity of the send target. (i.e. address)

setup(owner, disco)[source]