maxMessages = is.readInt();
}
public ResponseSupport serverInvoke() throws Exception
{
BrowserEndpoint endpoint =
(BrowserEndpoint)Dispatcher.instance.getTarget(objectId);
if (endpoint == null)
{
throw new IllegalStateException("Cannot find object in dispatcher with id " + objectId);
}
return new BrowserNextMessageBlockResponse(endpoint.nextMessageBlock(maxMessages));
}