Versions Compared

Key

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

...

Finally, the in_map and out_map definitions definitions are used when creating decoder and encoder definitions to be used in the software.

UFDL code of the example is described as follows:

...

Network elements delivering data to  produce the software produce records in various physical formats. An external format describes the physical structure of the incoming data, as well as the data delivered by the  systemsystem. It can be any type of ASCII, XML or binary data. Typically, one external block per record type is defined. File headers and trailers are also considered being records.

The external formats are described through a number of different methods with different syntaxsyntaxes. The external formats, currently supported by the Platform, are:

...


Info
titleExample - An internal type declaration


Code Block
internal    AXE_DAM { 
  string ANumberAreaCode; 
  string ANumberClass : optional; 
  string BR_IncomingPQR; 
  string BR_NumberClass; 
  intLen ANumber; 
  intLen BRNumber; 
  intLen BSNumber; 
  string PreProcRecordClass; 
 }; 


An internal type declared through target_internal will automatically be generated based on the fields of the external and internal formats.

The target_internal is is the format used by the processing agents in the software. It can be a direct representation of the external incoming format , or a combination of the external and additional fields from an internal definition. An internal definition is needed in case any changes to the default mapping from the external format are required or if several externals are mapped to the same UDR.

...

Event format types are special internal types that can be sent to the Image Added Event Server. Events store additional internal information used during the event processing. For performance reasons, and in order to avoid confusion, event types should only be used as  message UDRs  dispatched to the Event Server. In other words, do not use event UDRs to transport ordinary UDR data.

...