/** * Creates a new entry change notification control. * * @param type persistent search change type * @param critical whether this control is critical */ public EntryChangeNotificationControl(final PersistentSearchChangeType type, final boolean critical) { super(OID, critical); setChangeType(type); }
/** * Creates a new entry change notification control. * * @param type persistent search change type * @param critical whether this control is critical */ public EntryChangeNotificationControl(final PersistentSearchChangeType type, final boolean critical) { super(OID, critical); setChangeType(type); }
/** * Creates a new entry change notification control. * * @param type persistent search change type * @param critical whether this control is critical */ public EntryChangeNotificationControl(final PersistentSearchChangeType type, final boolean critical) { super(OID, critical); setChangeType(type); }
@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); } }
/** * Creates a new entry change notification control. * * @param type persistent search change type * @param dn previous dn * @param number change number * @param critical whether this control is critical */ public EntryChangeNotificationControl( final PersistentSearchChangeType type, final String dn, final long number, final boolean critical) { super(OID, critical); setChangeType(type); setPreviousDn(dn); setChangeNumber(number); }
/** * Creates a new entry change notification control. * * @param type persistent search change type * @param dn previous dn * @param number change number * @param critical whether this control is critical */ public EntryChangeNotificationControl( final PersistentSearchChangeType type, final String dn, final long number, final boolean critical) { super(OID, critical); setChangeType(type); setPreviousDn(dn); setChangeNumber(number); }
/** * Creates a new entry change notification control. * * @param type persistent search change type * @param dn previous dn * @param number change number * @param critical whether this control is critical */ public EntryChangeNotificationControl( final PersistentSearchChangeType type, final String dn, final long number, final boolean critical) { super(OID, critical); setChangeType(type); setPreviousDn(dn); setChangeNumber(number); }