/*
 * RequestObject - class used to send requests between threads.
 *
 * Author:  Mike Criscolo
 * Date:    09/02/97
 */
public class RequestObject {

    String  beginText;
    int     iSecs;
    String  responseText;

    public RequestObject() {

        beginText = "";
        responseText = "";
        iSecs = 0;
    }

    public RequestObject(String bt, int time) {

        beginText = bt;
        responseText = "";
        iSecs = time;
    }

    public void SetResponseText(String rt) {

        responseText = rt;
    }

    // Return the delay time (in seconds)
    public int GetDelayTime() {

        return iSecs;
    }

    public void Dump() {
        System.out.println("Begin: " + beginText + "  Response: " + responseText);
    }
}
