UDP portal provides a transparent transport for UDP frames through a Unet.
The UdpPortal agent listens for UDP packets on the specified port. Arriving UDP packets are sent via the stack's LINK service to a peer node, using the specified peer address, protocol, reliability and priority. The UdpPortal agent also listens for any datagrams arriving from the LINK service with the specified protocol. These are forwarded as UDP packets sent to the clientIP and clientPort.
For supported agent parameters, see UdpPortalParam.
Type | Name and description |
---|---|
String |
clientIP |
int |
clientPort |
static String |
description |
int |
peer |
int |
port |
Priority |
priority |
int |
protocol |
boolean |
reliability |
static String |
title |
Type Params | Return Type | Name and description |
---|---|---|
|
String |
getLink() |
|
int |
getMTU() |
|
List<Parameter> |
getParameterList() |
|
protected void |
processMessage(Message msg) |
|
protected Message |
processRequest(Message msg) |
|
void |
setClientIP(String ip) |
|
String |
setLink(String aid) |
|
void |
setPort(int port) |
|
void |
setup() |
|
void |
shutdown() |
|
void |
startup() |