cancel = new DefaultCancel(deliveryId, deliveryCount, expired, reachedMax);
}
public ResponseSupport serverInvoke() throws Exception
{
SessionEndpoint endpoint =
(SessionEndpoint)Dispatcher.instance.getTarget(objectId);
if (endpoint == null)
{
throw new IllegalStateException("Cannot find object in dispatcher with id " + objectId);
}
endpoint.cancelDelivery(cancel);
return null;
}