Allow bureau clients to report fatal errors if something goes wrong, like oh I don't know... maybe a disconnection perhaps
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5489 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -68,8 +68,19 @@ public class BureauMarshaller extends InvocationMarshaller
|
||||
});
|
||||
}
|
||||
|
||||
/** The method id used to dispatch {@link #bureauError} requests. */
|
||||
public static final int BUREAU_ERROR = 4;
|
||||
|
||||
// from interface BureauService
|
||||
public void bureauError (Client arg1, String arg2)
|
||||
{
|
||||
sendRequest(arg1, BUREAU_ERROR, new Object[] {
|
||||
arg2
|
||||
});
|
||||
}
|
||||
|
||||
/** The method id used to dispatch {@link #bureauInitialized} requests. */
|
||||
public static final int BUREAU_INITIALIZED = 4;
|
||||
public static final int BUREAU_INITIALIZED = 5;
|
||||
|
||||
// from interface BureauService
|
||||
public void bureauInitialized (Client arg1, String arg2)
|
||||
|
||||
Reference in New Issue
Block a user