PortMap class

Represents a mapping between a PortReference and an InterfacePortReference on a particular BridgeModule.

Properties

hashCode int
The hash code for this object.
no setterinherited
interfacePort InterfacePortReference
A port on the Interface.
final
isConnected bool
Indicates that port and interfacePort are actually connected, not just mapped pending a connection.
no setter
port PortReference
A port on the Module.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect() bool
Resolves a port map by connecting the port to the interfacePort in the appropriate direction.
maps(PortReference port, InterfacePortReference interfacePort) bool
Whether this map has port and interfacePort as its exact endpoints.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
validate() → void
Validates that both endpoints resolve with equal widths and an available receiver without connecting them.

Operators

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