[Date Prev][Date Next] [Chronological] [Thread] [Top]

JavaLDAP Draft - change to Extended Operation



Previously we discussed adding setValue to LDAPControl,
but a similar method is also needed for LDAPExtendedOperation.
 
protected void setValue(byte[] newVals);
 
Both LDAPExtendedOperation and LDAPControl also need
 
protected void setID(String newoid)
 
 
Without these methods a child class is required to know the OID and the BER encoded data at the beginning of its constructor.  Most child classes have to do some manupulation before they have build the BER encoded data and the OID
 
Should the scope be public or protected?
 
Probably protected is adequate
 
-Steve
 
------------------------
Steve Sonntag
Novell, Inc., the leading provider of Net services software