PrivateChannel class abstract

This interface represents a presence channel.

Inheritance
Implementers

Constructors

PrivateChannel(ConnectorOptions options)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
options ConnectorOptions
The Echo options.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

error(Function callback) Channel
Register a callback to be called anytime an error occurs.
inherited
listen(String event, Function callback) Channel
Listen for an event on the channel instance.
inherited
listenForWhisper(String event, Function callback) Channel
Listen for a whisper event on the channel instance.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notification(Function callback) Channel
Listen for an event on the channel instance.
inherited
onSubscribedSuccess(Function callback) Channel
listen to on subscribe success event
stopListening(String event, [Function? callback]) Channel
Stop listening to an event on the channel instance.
inherited
stopListeningForWhisper(String event, [Function? callback]) Channel
Stop listening for a whisper event on the channel instance.
inherited
subscribe() → void
subscribe channel
inherited
subscribed(Function callback) Channel
Register a callback to be called anytime a subscription succeeds.
inherited
toString() String
A string representation of this object.
inherited
unsubscribe() → void
Unsubscribe channel
inherited
whisper(String eventName, dynamic data) PrivateChannel
Register a callback to be called anytime the member list changes.

Operators

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