Originally posted by: steverats
Hi,
I have learned from docs in WTX directory that onNotify() method can be used to start and stop the adapters for incard and outcard data.
Can anyone give a small example/syntax for that and its usage??
PFA regading function.
onNotify
public abstract void
onNotify(int iID,
int iParam,
MBase Param)
throws java.lang.Exception
-
Called to provide a notification for adapters of key events.
The iID will be set to one of the following values:
|
MPIN_ADAPTER_GETSTART
|
Prior to any get calls for the card
|
|
MPIN_ADAPTER_GETSTOP
|
After all get calls for the card
|
|
MPIN_ADAPTER_PUTSTART
|
Prior to any put calls for the card
|
|
MPIN_ADAPTER_PUTSTOP
|
After all put calls for the card
|
|
MPIN_ADAPTER_LISTENSTART
|
Prior to any listen calls for the card
|
|
MPIN_ADAPTER_LISTENSTOP
|
After all listen calls for the card
|
|
MPIN_ADAPTER_LISTENABORT
|
Called to abort a non-polling listener
|
|
MPIN_ADAPTER_MAPABORT
|
When a map is cancelled by user action
|
|
MPIN_OBJECT_PREPARE_DESTROY
|
Called prior to an object being destroyed
|
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange