fix Ruby 2.0.0 compatibility
[lwes-ruby.git] / test / unit / test1.esf
blobca53a043739c8d0d67451a154f7b9abc822cb969
1 # MetaEventInfo fields are allowed to be set in all other events, this
2 # can be though of as inheritance, in other words all other events in this
3 # file can have the fields defined in the MetaEventInfo
4 MetaEventInfo
6   ip_addr SenderIP;    # sender_ip                    REQUIRED, CALCULATED
7                        # ip address of the sender of the event
8   uint16  SenderPort;  # sender_port                  REQUIRED, CALCULATED
9                        # port of the sender of the event
10   int64   ReceiptTime; # time_received                REQUIRED, CALCULATED
11                        # time the event was received by the listener/journaller
12   uint16  SiteID;      # receiver_id                  OPTIONAL, COMMAND_ARGS
13                        # id of the listener/journaller
14   int16   enc;         # encoding_type                REQUIRED, FUNCTION_ARGS
15                        # encoding type of strings in the event
16   string  st;          # sender_type                  OPTIONAL, FUNCTION_ARGS, 10
17                        # sender type, this should be a short string which
18                        # describes the sender type.  (ie. "java", or "perl")
21 Event1
23   boolean t_bool;      # test_bool                    OPTIONAL, CALCULATED
24   int16   t_int16;     # test_int16                   OPTIONAL, CALCULATED
25   uint16  t_uint16;    # test_uint16                  OPTIONAL, CALCULATED
26   int32   t_int32;     # test_int32                   OPTIONAL, CALCULATED
27   uint32  t_uint32;    # test_uint32                  OPTIONAL, CALCULATED
28   int64   t_int64;     # test_int64                   OPTIONAL, CALCULATED
29   uint64  t_uint64;    # test_uint64                  OPTIONAL, CALCULATED
30   ip_addr t_ip_addr;   # test_ip_addr                 OPTIONAL, CALCULATED
31   string  t_string;    # test_string                  OPTIONAL, CALCULATED, 50