The TCP/IP Format
If Allow Multiple Connections and Send Response are selected, UDRs are expected as replies back to the collector from the APL agent. Extend the internal format to contain the built-in TCP/IP format.
external my_ext sequential {
// field definitions
int type : static_size(1);
ascii Anum : static_size(8);
ascii Bnum : terminated_by(0xA);
};
internal TCP_Int :
extends_class( "com.digitalroute.wfc.tcpipcoll.TCPIPUDR" ) {
};
in_map TCP_InMap :
external( my_ext ),
internal( TCP_Int ),
target_internal( my_TCP_TI ) {
automatic;
};
decoder myDecoder : in_map( TCP_InMap );