Sonic Management API

com.sonicsw.mf.jmx.client
Interface IOrphanedReplyListener

All Superinterfaces:
com.sonicsw.mf.comm.IOrphanedReplyListener

public interface IOrphanedReplyListener
extends com.sonicsw.mf.comm.IOrphanedReplyListener

Implementors are expected to handle replies that arrive after requests have timed out.


Method Summary
 void onFailure(java.lang.String target, java.lang.String operationName, java.lang.Exception e, long requestReceived, long requestAborted)
          Called when a exception reply arrives after the original request had timed out.
 void onSuccess(java.lang.String target, java.lang.String operationName, java.lang.Object returnValue, long requestReceived, long requestCompleted)
          Called when a valid reply arrives after the original request had timed out.
 

Method Detail

onFailure

void onFailure(java.lang.String target,
               java.lang.String operationName,
               java.lang.Exception e,
               long requestReceived,
               long requestAborted)
Called when a exception reply arrives after the original request had timed out.

Specified by:
onFailure in interface com.sonicsw.mf.comm.IOrphanedReplyListener
See Also:
JMSConnectorClient.setOrphanedReplyListener(IOrphanedReplyListener)

onSuccess

void onSuccess(java.lang.String target,
               java.lang.String operationName,
               java.lang.Object returnValue,
               long requestReceived,
               long requestCompleted)
Called when a valid reply arrives after the original request had timed out.

Specified by:
onSuccess in interface com.sonicsw.mf.comm.IOrphanedReplyListener
See Also:
JMSConnectorClient.setOrphanedReplyListener(IOrphanedReplyListener)

Sonic Management API

Copyright © 2001-2011 Progress Software Corporation. All Rights Reserved.
HTML formatted on 12-Aug-2011.