16 #ifndef AP_EVENT_TRANSPORT_H
17 #define AP_EVENT_TRANSPORT_H
31 typedef void* AP_TransportEvent;
35 #include <IAF_Platform.h>
55 #define AP_EVENTTRANSPORT_VERSION 0x00040000
63 #define AP_EVENTTRANSPORT_INFO_FUNCTION_NAME AP_EventTransport_info
64 #define AP_EVENTTRANSPORT_CTOR_FUNCTION_NAME AP_EventTransport_ctor
65 #define AP_EVENTTRANSPORT_DTOR_FUNCTION_NAME AP_EventTransport_dtor
434 typedef AP_EVENTTRANSPORT_API void (AP_EVENTTRANSPORT_CALL*
AP_EventTransportInfoPtr)(AP_uint32* version, AP_uint32* capabilities);
AP_EventTransportError
AP_EventTransportError.
Definition: EventTransport.h:87
void(* addEventDecoder)(struct AP_EventTransport *transport, const AP_char8 *name, struct AP_EventDecoder *decoder)
addEventDecoder
Definition: EventTransport.h:244
AP_EventTransportStatus.
Definition: EventTransport.h:146
AP_char8 * name
Transport property value.
Definition: EventTransport.h:125
AP_uint64 totalReceived
Total number of downstream events received since IAF was run.
Definition: EventTransport.h:155
AP_EVENTTRANSPORT_API AP_EventTransport *(AP_EVENTTRANSPORT_CALL * AP_EventTransportCtorPtr)(AP_char8 *name, AP_EventTransportProperties *properties, AP_EventTransportError *err, AP_char8 **errMsg, IAF_TimestampConfig *timestampConfig)
AP_EventTransportCtorPtr.
Definition: EventTransport.h:467
Trouble reading/writing the external transport.
Definition: EventTransport.h:93
void(* removeEventDecoder)(struct AP_EventTransport *transport, const AP_char8 *name)
removeEventDecoder
Definition: EventTransport.h:256
AP_NormalisedEvent * statusDictionary
Additional status information about this transport.
Definition: EventTransport.h:172
AP_EventTransportError(* sendTransportEvent)(struct AP_EventTransport *transport, AP_TransportEvent event, AP_TimestampSet *timeStamp)
sendTransportEvent
Definition: EventTransport.h:231
void * reserved
Pointer to private internal data.
Definition: EventTransport.h:402
AP_EventTransportError(* flushUpstream)(struct AP_EventTransport *transport)
flushUpstream
Definition: EventTransport.h:271
AP_EventTransportProperty.
Definition: EventTransport.h:109
AP_EventTransport_Functions.
Definition: EventTransport.h:188
Trouble sending transport event to decoder.
Definition: EventTransport.h:95
Some unspecified internal error occurred.
Definition: EventTransport.h:91
AP_char8 * name
Transport property name.
Definition: EventTransport.h:111
AP_EVENTTRANSPORT_API void(AP_EVENTTRANSPORT_CALL * AP_EventTransportInfoPtr)(AP_uint32 *version, AP_uint32 *capabilities)
AP_EventTransportInfoPtr.
Definition: EventTransport.h:434
AP_EventDecoder.
Definition: EventCodec.h:441
AP_EventTransportError(* start)(struct AP_EventTransport *transport)
start
Definition: EventTransport.h:325
AP_EventTransportError(* stop)(struct AP_EventTransport *transport)
stop
Definition: EventTransport.h:346
AP_EventTransportError(* updateProperties)(struct AP_EventTransport *transport, AP_EventTransportProperties *properties, IAF_TimestampConfig *timestampConfig)
updateProperties
Definition: EventTransport.h:210
IAF_TimestampConfig.
Definition: IAF_TimestampConfig.h:29
AP_NormalisedEvent.
Definition: NormalisedEvent.h:455
void(* getStatus)(struct AP_EventTransport *transport, AP_EventTransportStatus *status)
getStatus
Definition: EventTransport.h:381
AP_EVENTTRANSPORT_API void(AP_EVENTTRANSPORT_CALL * AP_EventTransportDtorPtr)(AP_EventTransport *obj)
AP_EventTransportDtorPtr.
Definition: EventTransport.h:482
Everything is fine.
Definition: EventTransport.h:89
AP_uint64 totalSent
Total number of upstream events since the IAF was run.
Definition: EventTransport.h:159
AP_char8 * status
Free form text string containing a transport specific status message.
Definition: EventTransport.h:151
Hires Timestamps configuration support.
Transport could not start correctly.
Definition: EventTransport.h:99
struct AP_EventTransport_Functions * functions
Function table of transport library operations.
Definition: EventTransport.h:408
AP_EventTransport.
Definition: EventTransport.h:397
AP_TimestampSet.
Definition: AP_TimestampSet.h:307
AP_EventTransportProperties.
Definition: EventTransport.h:123
AP_EventTransportError(* flushDownstream)(struct AP_EventTransport *transport)
flushDownstream
Definition: EventTransport.h:287
AP_EventTransportProperty ** properties
Array of transport properties.
Definition: EventTransport.h:127
Transport was passed an invalid property set.
Definition: EventTransport.h:97
AP_char8 * value
Transport property value.
Definition: EventTransport.h:113