|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.evtsub.agent.SendEvent
SendEvent provides methods to send an event from an agent to server(s). The event is first sent to the Event Subagent and then sent to the server(s).
Field Summary | |
---|---|
static int |
DEFAULT_LIFE_SPAN
Default event life span 12 hours in minutes. |
static int |
RETURN_CODE_OK
Return code. |
static int |
RETURN_CODE_SUBAGENT_NOT_READY
Return code. |
Method Summary | |
---|---|
static int |
toSubscribers(TWGBaseEvent event)
Send an event to the servers that have subscribed the event. |
static int |
toSubscribers(TWGBaseEvent event,
int lifeSpan)
Send an event to the servers that have subscribed the event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEFAULT_LIFE_SPAN
public static final int RETURN_CODE_OK
public static final int RETURN_CODE_SUBAGENT_NOT_READY
Method Detail |
public static int toSubscribers(TWGBaseEvent event)
event
- event to be sent
public static int toSubscribers(TWGBaseEvent event, int lifeSpan)
event
- event to be sentlifeSpan
- time in minutes to retain the event before abandoning delivery attempts
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |