Implements interfaces: twisted.spread.pb.IPerspective

Undocumented
Method __init__ Undocumented
Method perspectiveMessageReceived This method is called when a network message is received.
Method logout Undocumented
def __init__(self, avatarId):
Undocumented
def perspectiveMessageReceived(self, broker, message, args, kwargs):

This method is called when a network message is received.

ParametersbrokerThe Perspective Broker.
messageThe name of the method called by the other end. (type: str)
argsThe arguments that were passed by the other end. It is recommend that you use the `unserialize' method of the broker to decode this. (type: list in jelly format)
kwargsThe keyword arguments that were passed by the other end. It is recommended that you use the `unserialize' method of the broker to decode this. (type: dict in jelly format)
ReturnsIt is recommended that you use the `serialize' method of the broker on whatever object you need to return to generate the return value. (type: A jelly list.)
def logout(self):
Undocumented
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.