Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If Allow Multiple Connections and Send Response are selected, UDRs are expected as reply back to the collector from the APL agent. Extend the internal format to contain the built-in TCPIP format.

Code Block
languagetext
themeEclipse
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 );