UDP Input Context

  • Context Variable: service
  • Only applicable to UDP Input

API Interface

//Send datagram packet to a socket address
void send(String host, int port, byte[] payload);

//Stops the input service
void stop();

//Gets the input service's config ID
String getId();

//Retrieves the entity type [DOMAIN, ORGANIZATION, GLOBAL, SYSTEM]
EntityType getEntityType();

//Gets the input service's org id 
Long getOrgId();

Related Context APIs

Packet Context
UDP Input