ZapSubscriber class
- Inheritance
-
- Object
- ZapConsumer
- ZapSubscriber
Constructors
- ZapSubscriber(ChannelSession channelSession, {bool autoStart = true})
Properties
- autoStart ↔ bool
-
getter/setter pair
-
connectionState
→ Stream<
ConnectionState> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri
-
no setterinherited
Methods
-
clean(
) → Future< void> -
disconnect(
) → Future< void> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendEvent(
String eventName, dynamic payload, {Map< String, dynamic> ? headers}) → void -
inherited
-
start(
) → Future< void> -
override
-
subscribeToAllEvent(
) → Stream< EventData> -
subscribeToEvent(
String eventName) → Stream< EventData> -
subscribeToEvents(
List< String> eventNames) → Stream<EventData> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited