TIBCO eFTL™
Public Member Functions | List of all members
TIBCO.EFTL.IKVMapListener Interface Reference

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)
 

Detailed Description

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)

Member Function Documentation

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:

Parameters
keyThe key for the operation.
valueThe value of the key.
codeThis code categorizes the error. Application programs may use this value in response logic.
reasonThis 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.

Parameters
keyThe key for the operation.
valueThe value of the key.