internal bool isComplete(int msgid)
{
try
{
Message info = messages.findMessageById(msgid);
if (!info.Complete)
{
return false;
}
}
catch (System.FieldAccessException ex)
{
; // return true, if no message, it must be complete
}
return true;
}
/// <summary> Reports true if all results have been received for a particular /// message id. /// /// If the search result done has been received from the server for the /// message id, it reports true. There may still be messages waiting to be /// retrieved by the applcation with getResponse. /// /// @throws IllegalArgumentException if there is no outstanding operation /// for the message ID, /// </summary> public virtual bool isComplete(int msgid) { return(agent.isComplete(msgid)); }