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:
Jamie Doornbos
2008-11-01 00:31:53 +00:00
parent dc99a123ad
commit 055ae0cc98
8 changed files with 71 additions and 2 deletions
@@ -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)