newRate = is.readFloat();
}
public ResponseSupport serverInvoke() throws Exception
{
ConsumerEndpoint endpoint =
(ConsumerEndpoint)Dispatcher.instance.getTarget(objectId);
if (endpoint == null)
{
throw new IllegalStateException("Cannot find object in dispatcher with id " + objectId);
}
endpoint.changeRate(newRate);
return null;
}