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

Request event handler. More...

Public Member Functions

void OnError (IMessage request, int code, String reason)
 
void OnReply (IMessage reply)
 

Detailed Description

Request event handler.

Implement this interface to process request events.

Supply an instance when you call IConnection.SendRequest(IMessage, double, IRequestListener)

Member Function Documentation

void TIBCO.EFTL.IRequestListener.OnError ( IMessage  request,
int  code,
String  reason 
)

A request resulted in an error.

The message was not forwarded by the eFTL server, or no reply was received within the specified timeout.

Possible codes include:

Parameters
requestThe original request message.
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.IRequestListener.OnReply ( IMessage  reply)

A request has received a reply.

Parameters
replyThe reply message.