PresenceManager class

Implemented types

Constructors

PresenceManager(Connection _connection)

Properties

errorStream Stream<PresenceErrorEvent>
no setter
hashCode int
The hash code for this object.
no setterinherited
presenceStream Stream<PresenceData>
no setter
requests List<PresenceStanza>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selfPresence PresenceData
getter/setter pair
subscriptionStream Stream<SubscriptionEvent>
no setter

Methods

acceptSubscription(Jid? to) → void
override
askDirectPresence(Jid to) → void
override
declineSubscription(Jid to) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendDirectPresence(PresenceData presence, Jid to) → void
override
sendPresence(PresenceData presence) → void
override
subscribe(Jid to) → void
override
toString() String
A string representation of this object.
inherited
unsubscribe(Jid to) → void
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instances Map<Connection, PresenceManager>
getter/setter pair

Static Methods

getInstance(Connection connection) PresenceManager
removeInstance(Connection connection) → void