TIBCO eFTL™
|
Key-value map event handler. More...
Public Member Functions | |
void | OnError (String key, IMessage value, int code, String reason) |
void | OnSuccess (String key, IMessage value) |
Key-value map event handler.
Implement this interface to process key-value map events.
Supply an instance when you call IKVMap.Set(String, IMessage, IKVMapListener) IKVMap.Get(String, IKVMapListener) IKVMap.Remove(String, IKVMapListener)
void TIBCO.EFTL.IKVMapListener.OnError | ( | String | key, |
IMessage | value, | ||
int | code, | ||
String | reason | ||
) |
A key-value map operation resulted in an error.
When developing a client application, consider alerting the user to the error.
Possible codes include:
key | The key for the operation. |
value | The value of the key. |
code | This code categorizes the error. Application programs may use this value in response logic. |
reason | This string provides more detail about the error. Application programs may use this value for error reporting and logging. |
void TIBCO.EFTL.IKVMapListener.OnSuccess | ( | String | key, |
IMessage | value | ||
) |
A key-value map operation has completed successfully.
key | The key for the operation. |
value | The value of the key. |