|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventTransport
EventTransport defines the interface that Java IAF transports implement so they can be used by the IAF to send an upstream event that has passed through the Semantic Mapper and encoder.
Field Summary | |
---|---|
static int |
API_VERSION
Transport API version. |
Method Summary | |
---|---|
void |
sendTransportEvent(java.lang.Object event,
TimestampSet timestamps)
Called by an event encoder to send an upstream message to the external transport. |
Field Detail |
---|
static final int API_VERSION
Method Detail |
---|
void sendTransportEvent(java.lang.Object event, TimestampSet timestamps) throws TransportException
It is assumed that the encoder and transport share the same definition of the content of the event, so that the transport can effectively interpret the event.
event
- An object representing the event to be sent by the
transport, in a format shared by the encoder and transport.timestamps
- A TimestampSet representing the timestamps attached
to the event.
TransportException
- Thrown by the transport if any error occurs
sending the message.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |