70a79f48e9
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2077 542714f4-19e9-0310-aa3c-eee0fc999fb1
42 lines
808 B
Java
42 lines
808 B
Java
//
|
|
// $Id: FailureResponse.java,v 1.9 2002/12/20 23:28:24 mdb Exp $
|
|
|
|
package com.threerings.presents.net;
|
|
|
|
import java.io.IOException;
|
|
|
|
import com.threerings.io.ObjectInputStream;
|
|
import com.threerings.io.ObjectOutputStream;
|
|
|
|
public class FailureResponse extends DownstreamMessage
|
|
{
|
|
/**
|
|
* Zero argument constructor used when unserializing an instance.
|
|
*/
|
|
public FailureResponse ()
|
|
{
|
|
super();
|
|
}
|
|
|
|
/**
|
|
* Constructs a failure response in response to a request for the
|
|
* specified oid.
|
|
*/
|
|
public FailureResponse (int oid)
|
|
{
|
|
_oid = oid;
|
|
}
|
|
|
|
public int getOid ()
|
|
{
|
|
return _oid;
|
|
}
|
|
|
|
public String toString ()
|
|
{
|
|
return "[type=FAIL, msgid=" + messageId + ", oid=" + _oid + "]";
|
|
}
|
|
|
|
protected int _oid;
|
|
}
|