Class UDPPort
Opens a UDP port to send and receive data.
Syntax
[NodeCategory("Network", "UDP Port", NodeTick.Asynchronous, LifeCycle.Update, 0F, NodeMode.Standard, false)]
public class UDPPort : NodeRuntime
Fields
address
Declaration
[Tooltip("IP Address of the interface to open the port on.")]
[Field("IP Address", PortDirection.Right, FieldExtra.Read | FieldExtra.Constant)]
[SerializeField]
protected PortType<string> address
Field Value
commBus
Declaration
[Tooltip("Communication bus to communicate with other nodes.")]
[Field("Comm Bus", PortDirection.Left, FieldExtra.Read | FieldExtra.Write)]
[SerializeField]
protected PortType<byte[]> commBus
Field Value
kBusAddress
Bus address for this device
Declaration
public static byte kBusAddress
Field Value
port
Declaration
[Tooltip("Port number to open(Must be able to open using the system api).")]
[Field("Port", PortDirection.Right, FieldExtra.Read | FieldExtra.Constant)]
[SerializeField]
protected PortType<int> port
Field Value
Methods
Disable()
Declaration
public override void Disable()
Overrides
Enable(Scheduler.ClockState)
Forwarded OnEnable Unity event from the parent SystemGraphComponent
Declaration
public override void Enable(Scheduler.ClockState clockStatep)
Parameters
Overrides
Update()
Proceses messages in queue.
Declaration
public override void Update()
Overrides