- Inheritance
- Object
- ConnectionHandler
- Requester
Constructors
- Requester([RemoteNodeCache cache ])
Properties
- lastRid → int
-
read / write
- nodeCache → RemoteNodeCache
-
caching of nodes
final - onError → Stream<DSError>
-
read-only
- openRequestCount → int
-
read-only
- subscriptionCount → int
-
read-only
- connection → ConnectionChannel
-
read / write, inherited
- hashCode → int
-
The hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
closeRequest(
Request request) → void -
close the request from requester side and notify responder
-
getNextRid(
) → int -
getNodeValue(
String path, { Duration timeout }) → Future<ValueUpdate> -
getRemoteNode(
String path) → Future<RemoteNode> -
getSendingData(
int currentTime, int waitingAckId) → ProcessorResult -
gather all the changes from
-
invoke(
String path, [ Map params = const {}, int maxPermission = Permission.CONFIG, RequestConsumer fetchRawReq ]) → Stream<RequesterInvokeUpdate> -
isNodeCached(
String path) → bool -
list(
String path) → Stream<RequesterListUpdate> -
onData(
List list) → void -
onDisconnected(
) → void -
onReconnected(
) → void -
onValueChange(
String path, [ int qos = 0 ]) → Stream<ValueUpdate> -
remove(
String path) → Future<RequesterUpdate> -
sendRequest(
Map<String, dynamic> m, RequestUpdater updater) → Request -
set(
String path, Object value, [ int maxPermission = Permission.CONFIG ]) → Future<RequesterUpdate> -
subscribe(
String path, dynamic callback(ValueUpdate update), [ int qos = 0 ]) → ReqSubscribeListener -
unsubscribe(
String path, dynamic callback(ValueUpdate update)) → void -
addProcessor(
ConnectionProcessor processor) → void -
a processor function that's called just before the data is sent same processor won't be added to the list twice inside processor, send() data that only need to appear once per data frame
inherited -
addToSendList(
Map m) → void -
inherited
-
clearProcessors(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited