Interaction SDK
(Web Services)

com.genesyslab.ail.ws.event

Class Summary
Event Description : This class describes an event which occurred in a service.
Notification This class describes the notification in push mode.
SubscriberResult This class describes the result returned on createSubscriber() call. It contains the subscriber ID and the errors (if any).
Topic This class describes the topic used to define triggers and filters.
TopicServiceError This class describes an error which occurred when adding, modifying, or removing a topic service.
TopicsEvent This class describes the topics used to subscribe to an event. A topic is used to select the events that your event service can get.
TopicsEventRemove This class describes the topics to unsubscribe for a particular event.
TopicsService This class contains the topics to subscribe to the events of this service.
TopicsServiceRemove This class describes the Topics to unsubscribe on a service.

Enum Summary

Class Detail

Event

Description : This class describes an event which occurred in a service.

Fields:

  serviceName  String
   The service name which produced this event.

  eventName  String
   The name of the produced event.

  triggers  com.genesyslab.ail.ws.event.Topic[]
   The list of the matched triggers.

  attributes  com.genesyslab.ail.ws.KeyValue[]
   The key-value pairs of the published attributes retrieved with this event.

  timeStamp  long
   The time in milli-seconds (in GMT notation) at which this event occurred.

Notification

This class describes the notification in push mode.

Fields:

  notificationEndpoint  Object
   The notification endpoint regarding the notification type.

  notificationType  String
   The notification type. The differents kind of notification are: - JAVA: for java RMI notification. The method called is notifyEvents(String subscriberId, Event[] events) of NotifyService. - SOAP_HTTP: for SOAP over HTTP notification. The method called is notifyEvents(String subscriberId, Event[] events). - SOAP_HTTP_WRAPPED: for SOAP over HTTP notification with events wrapped into a String. The method called is notifyWrappedEvents(String subscriberId, String events). In this case, the events parameter contains the XML flow of the events.

SubscriberResult

This class describes the result returned on createSubscriber() call. It contains the subscriber ID and the errors (if any).

Fields:

  subscriberId  String
   The subscriber identifier.

  errors  com.genesyslab.ail.ws.event.TopicServiceError[]
   The errors on each topic service.

Topic

This class describes the topic used to define triggers and filters.

Fields:

  key  String
   The topic key.

  value  String
   The topic value.

TopicServiceError

This class describes an error which occurred when adding, modifying, or removing a topic service.

Fields:

  serviceName  String
   The service name.

  eventName  String
   The event name.

  trigger  com.genesyslab.ail.ws.event.Topic
   The concerned trigger.

  filter  com.genesyslab.ail.ws.event.Topic
   The concerned filter.

  error  String
  

TopicsEvent

This class describes the topics used to subscribe to an event. A topic is used to select the events that your event service can get.

Fields:

  eventName  String
   The event name.

  attributes  String[]
   The attributes list.

  triggers  com.genesyslab.ail.ws.event.Topic[]
   The triggers list. Note: specify at least a trigger.

  filters  com.genesyslab.ail.ws.event.Topic[]
   The filters list. Can be null.

TopicsEventRemove

This class describes the topics to unsubscribe for a particular event.

Fields:

  eventName  String
   The event name.

  triggers  com.genesyslab.ail.ws.event.Topic[]
   The triggers list. TopicsEvents defined for one of those triggers are removed.

TopicsService

This class contains the topics to subscribe to the events of this service.

Fields:

  serviceName  String
   The service name.

  topicsEvents  com.genesyslab.ail.ws.event.TopicsEvent[]
   The event topics.

TopicsServiceRemove

This class describes the Topics to unsubscribe on a service.

Fields:

  serviceName  String
   The service name.

  topicsEventsRemove  com.genesyslab.ail.ws.event.TopicsEventRemove[]
   The events topics to remove.

Enum Detail

Interaction SDK
(Web Services)