class documentation

class NonSubclassingPerspective: (source)

Implements interfaces: twisted.spread.pb.IPerspective

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method logout Undocumented
Method perspectiveMessageReceived This method is called when a network message is received.
Instance Variable loggedOut Undocumented
def __init__(self, avatarId): (source)

Undocumented

def logout(self): (source)

Undocumented

def perspectiveMessageReceived(self, broker, message, args, kwargs): (source)

This method is called when a network message is received.

Parameters
brokerThe Perspective Broker.
message:strThe name of the method called by the other end.
args:list in jelly formatThe arguments that were passed by the other end. It is recommend that you use the `unserialize' method of the broker to decode this.
kwargs:dict in jelly formatThe keyword arguments that were passed by the other end. It is recommended that you use the `unserialize' method of the broker to decode this.
Returns
A jelly list.It is recommended that you use the `serialize' method of the broker on whatever object you need to return to generate the return value.
loggedOut: bool = (source)

Undocumented