AckClientTransaction class

Inheritance

Constructors

AckClientTransaction(PitelUA ua, Transport transport, OutgoingRequest request, EventManager eventHandlers)

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pairinherited
last_response IncomingMessage?
getter/setter pairinherited
listeners Map<Type, List>
getter/setter pairinherited
request ↔ dynamic
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state TransactionState?
getter/setter pairinherited
transport Transport?
getter/setter pairinherited
ua PitelUA?
getter/setter pairinherited

Methods

addAllEventHandlers(EventManager other) → void
add all event handlers from an other instance of EventManager to this one.
inherited
emit<T extends EventType>(T event) → void
send the supplied event to all of the listeners that are subscribed to that EventType
inherited
hasListeners(EventType event) bool
returns true if there are any listeners associated with the EventType for this instance of EventManager
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on<T extends EventType>(T eventType, void listener(T event)) → void
call "on" to subscribe to events of a particular type
inherited
onTransportError() → void
override
receiveResponse(int status_code, IncomingMessage response, [void onSuccess()?, void onFailure()?]) → void
inherited
remove<T extends EventType>(T eventType, void listener(T event)?) → void
inherited
send() → void
override
toString() String
A string representation of this object.
inherited

Operators

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