ProtocolException,
LoadThresholdExceededException,
InsufficientVLSNRangeException {
protocol.write(protocol.new FeederInfoReq(), channel);
FeederInfoResp resp = protocol.read(channel, FeederInfoResp.class);
if ((!VLSN.NULL_VLSN.equals(minVLSN)) &&
((resp.getRangeFirst().compareTo(minVLSN) > 0) ||
(resp.getRangeLast().compareTo(minVLSN)) < 0)) {
throw new InsufficientVLSNRangeException(minVLSN,
resp.getRangeFirst(),
resp.getRangeLast());
}
if (resp.getActiveFeeders() > serverLoadThreshold) {
LoadThresholdExceededException exception
= new LoadThresholdExceededException(serverLoadThreshold,
resp.getActiveFeeders());
throw exception;
}
}