MessageChannel

MessageChannel

Methods

(inner) close()

Source:
Close underlying transport and unregister event handlers.

(inner) sendFrame(type, id, seq, payload)

Source:
Send ARNet network frame via transport to remote endpoint.
Parameters:
Name Type Description
type uint8
id uint8
seq uint8
payload Buffer

(inner) sendMessage(mesginfo, …argsopt)

Source:
Send ARNet command via transport to remote endpoint.
Parameters:
Name Type Attributes Description
mesginfo Object ARNet message header attributes
args * <optional>
<repeatable>
ARNet message arguments

Events

close

Source:

navdata

Source:
Properties:
Name Type Description
message Message
rinfo RemoteInfo

navdata-event

Source:
Properties:
Name Type Description
message Message
rinfo RemoteInfo

timeout

Source: