/// <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));
}