pkt.getData(), pkt.getOffset(), pkt.getLength()).getInt();
} catch (BufferUnderflowException e) {
throw new DiscoveryProtocolException(null, e);
}
multicastAnnouncementConstraints.checkProtocolVersion(pv);
final Discovery disco = getDiscovery(pv);
try {
return (MulticastAnnouncement) AccessController.doPrivileged(
securityContext.wrap(new PrivilegedExceptionAction() {
public Object run() throws IOException {
return disco.decodeMulticastAnnouncement(
pkt,
multicastAnnouncementConstraints.
getUnfulfilledConstraints(),
true);
}