ResourceScopeViewer class abstract

ResourceScopeViewer is a mixin interface providing view methods for accessing top level scopes.

Implementers

Constructors

ResourceScopeViewer.new()

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
viewPeer<T>(PeerId peerId, Future<T> f(PeerScope scope)) Future<T>
ViewPeer views the resource management scope for a specific peer.
viewProtocol<T>(ProtocolID protocol, Future<T> f(ProtocolScope scope)) Future<T>
ViewProtocol views the resource management scope for a specific protocol.
viewService<T>(String service, Future<T> f(ServiceScope scope)) Future<T>
ViewService retrieves a service-specific scope.
viewSystem<T>(Future<T> f(ResourceScope scope)) Future<T>
ViewSystem views the system-wide resource scope.
viewTransient<T>(Future<T> f(ResourceScope scope)) Future<T>
ViewTransient views the transient (DMZ) resource scope.

Operators

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