com.isti.jevalresp
Interface RespCallback

All Known Implementing Classes:
CallbackProcPlot, CallbackProcWrite

public interface RespCallback

Interface RespCallback specifies a callback method that provides information about a response.


Method Summary
 boolean responseInfo(java.lang.String fileName, edu.iris.Fissures.IfNetwork.ChannelId channelIdObj, java.util.Date respEndDateObj, java.lang.String channelIdFName, edu.iris.Fissures.IfNetwork.Response respObj, java.lang.String errMsgStr)
          Provides information about a response that has been located and fetched.
 void setRespProcObj(RespProcessor respProcObj)
          Sets the 'RespProcessor' object to be used.
 void showInfoMessage(java.lang.String msgStr)
          Shows the given informational message.
 

Method Detail

setRespProcObj

void setRespProcObj(RespProcessor respProcObj)
Sets the 'RespProcessor' object to be used.

Parameters:
respProcObj - response processing object

responseInfo

boolean responseInfo(java.lang.String fileName,
                     edu.iris.Fissures.IfNetwork.ChannelId channelIdObj,
                     java.util.Date respEndDateObj,
                     java.lang.String channelIdFName,
                     edu.iris.Fissures.IfNetwork.Response respObj,
                     java.lang.String errMsgStr)
Provides information about a response that has been located and fetched.

Parameters:
fileName - the name of source file for the response.
channelIdObj - the channel ID associated with the response, or null if a channel ID was not found.
respEndDateObj - end date for channel ID, or null if a channel ID was not found.
channelIdFName - a string version of the channel ID associated with the response, or null if a channel ID was not found.
respObj - the response information, or null if a channel ID was not found (error message in 'errMsgStr').
errMsgStr - if 'channelIdObj' or 'respObj' is null then 'errMsgStr' contains an error message string; otherwise null.
Returns:
true if the response was processed successfully, false if an error occurred.

showInfoMessage

void showInfoMessage(java.lang.String msgStr)
Shows the given informational message.

Parameters:
msgStr - message string