Readonly
attributesAttributes of the transport.
Readonly
memifAccess the underlying Memif instance.
You may read counters and monitor "memif:up" "memif:down" events, but not send/receive packets.
Readonly
rxIterable of incoming packets received through the transport.
Return the transport MTU.
The transport should be able to send TLV structure of up to this size. If not overridden, return a conservative number.
Note that this does not restrict incoming packet size.
Reopen the transport after it has failed.
The same transport or a new transport after it has been reconnected.
@ndn/l3face!Transport.ReopenNotSupportedError Thrown to indicate the transport does not support reopening.
Function to accept outgoing packet stream.
Iterable of outgoing packets sent through the transport.
Size of each packet cannot exceed .mtu
.
Promise that resolves when iterable is exhausted or rejects upon error.
Static
connectCreate a transport and establish connection.
Generated using TypeDoc
Shared Memory Packet Interface (memif) transport.