|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.etill.framework.eventmgr.PSEvent
Cassettes should not extend this class - use
CassetteEvent
instead.
PSEvent is the base class for all classes that represent external events for the Payment Server Framework's Event Notificiation service.
Events are external asynchronous notifications of a change that has
occurred within the Payment Server or one of its cassettes. When they
are generated, the Framework's Event Notification service sends the
event to each event listener application that has registerd for this
type of event. See the
See the Javadoc for CassetteEvent
for details on how to
define and generate cassette-specific events.
CassetteEvent
,
CommitPoint.addToEventList(com.ibm.etill.framework.eventmgr.PSEvent)
Fields inherited from interface com.ibm.etill.framework.eventmgr.EventConstants |
---|
ACCOUNTNUMBER, BATCH_OBJECT, BATCHNUMBER, CASSETTE_EVENT, CASSETTENAME, COMPONENTNAME, CREDIT_OBJECT, CREDITNUMBER, CURRENTSTATE, DOWN, ENABLED, EVENTLISTENER, EVENTTYPE, FRAMEWORK, HOSTNAME, LISTENERURI, MERCHANT_EVENT, MERCHANTNUMBER, NETMGR_EVENT, OBJECTNAME, ORDER_OBJECT, ORDERDATA1, ORDERDATA2, ORDERDATA3, ORDERDATA4, ORDERDATA5, ORDERNUMBER, PAYMENT_OBJECT, PAYMENTNUMBER, PORTNUMBER, PREVIOUSSTATE, PRIMARYRC, SECONDARYRC, SEPARATOR, SOCKSHOST, SOCKSPORT, STATE_CHANGE_EVENT, STATUS, TIMEGENERATED, TIMEREGISTERED, TRANSACTIONID, UP |
Constructor Summary | |
---|---|
PSEvent(Object source)
This constructor should not be called directly by cassettes. |
|
PSEvent(Object source,
int e_type)
This constructor should not be called directly by cassettes. |
Method Summary | |
---|---|
int |
getEventType()
Returns the event type value assigned to this PSEvent object. |
Object |
getSource()
Returns the object which generated this event object. |
Date |
getTimestamp()
Returns the time and date at which this PSEvent was created. |
String |
getTimestampAsString()
Returns the time and date at which this PSEvent was created. |
void |
setEventType(int type)
Assigns an event type value to this PSEvent object. |
String |
toString()
Returns a string representation of this event object for tracing purposes. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PSEvent(Object source)
source
- the Java object that generated this event.public PSEvent(Object source, int e_type)
source
- the Java object that generated this event.e_type
- an int containing the event type. Each subclass uses a different
event type value.Method Detail |
public void setEventType(int type)
type
- an int containing the event type. Each subclass uses a different
event type value.public int getEventType()
public Date getTimestamp()
public String getTimestampAsString()
public Object getSource()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |