@Override public void handle(final DERParser parser, final ByteBuffer encoded) { final int typeValue = IntegerType.decode(encoded).intValue(); final PersistentSearchChangeType ct = PersistentSearchChangeType.valueOf(typeValue); if (ct == null) { throw new IllegalArgumentException("Unknown change type code " + typeValue); } getObject().setChangeType(ct); } }
@Override public void handle(final DERParser parser, final ByteBuffer encoded) { final int typeValue = IntegerType.decode(encoded).intValue(); final PersistentSearchChangeType ct = PersistentSearchChangeType.valueOf(typeValue); if (ct == null) { throw new IllegalArgumentException("Unknown change type code " + typeValue); } getObject().setChangeType(ct); } }
@Override public void handle(final DERParser parser, final ByteBuffer encoded) { final int typeValue = IntegerType.decode(encoded).intValue(); final PersistentSearchChangeType ct = PersistentSearchChangeType.valueOf(typeValue); if (ct == null) { throw new IllegalArgumentException("Unknown change type code " + typeValue); } getObject().setChangeType(ct); } }
final EntryChange c = (EntryChange) responseControl; ctl = new EntryChangeNotificationControl( PersistentSearchChangeType.valueOf(c.getChangeType().getValue()), c.getPreviousDn().toString(), c.getChangeNumber(),