7 NtpTime persistence, delay;
8 ORTEPublication *p_octet;
9 ORTEPublication *p_short;
10 ORTEPublication *p_long;
17 main(int argc, char *argv[])
21 d = ORTEDomainAppCreate(ORTE_DEFAULT_DOMAIN, NULL, NULL, ORTE_FALSE);
24 NTPTIME_BUILD(persistence, 3); //3s
25 NTPTIME_BUILD(delay, 1); //1s
26 i2s_octet.guid = 0x123456;
28 i2s_short.guid = 0x654321;
30 i2s_long.guid = 0x123654;
33 //register serialization/deserealization functions for a given types
34 ofb_octet_type_register(d);
35 ofb_short_type_register(d);
36 ofb_long_type_register(d);
37 ofb_float_type_register(d);
38 ofb_double_type_register(d);
41 p_octet = ORTEPublicationCreate(
51 p_short = ORTEPublicationCreate(
61 p_long = ORTEPublicationCreate(