NoopConnGater class

A no-op implementation of ConnGater that allows all Conns.

Implemented types

Constructors

NoopConnGater.new()
const

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

interceptAccept(Conn conn) bool
Tests whether an incipient inbound Conn is allowed.
override
interceptAddrDial(PeerId peerId, MultiAddr addr) bool
Tests whether we're permitted to dial the specified multiaddr for the given peer.
override
interceptPeerDial(PeerId peerId) bool
Tests whether we're permitted to Dial the specified peer.
override
interceptSecured(bool isInitiator, PeerId peerId, Conn conn) bool
Tests whether a given Conn, now authenticated, is allowed.
override
interceptUpgraded(Conn conn) → (bool, DisconnectReason?)
Tests whether a fully capable Conn is allowed.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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