aiowamp.SessionABC¶
-
class
aiowamp.SessionABC[source]¶ Abstract session type.
A Session is a transient conversation between two Peers attached to a Realm and running over a Transport.
-
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__Initialize self. add_message_handler(handler)param handler: close([details, reason])param details: get_features(role)param role: has_feature(role, feature)param role: has_role(role)param role: remove_message_handler([handler])param handler: send(msg)Send a message using the underlying transport. wait_until_done()rtype: Optional[Goodbye]Attributes
detailsrtype: Dict[str,ForwardRef]goodbyeGoodbye message sent by the remote. realmName of the realm the session is attached to. rolesrtype: Set[str]session_idSession ID. -