[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Listener objects - java-api-11 draft
If an LDAPListener interface were created, then
the two methods in LDAPv2.abandon
public void abandon(LDAPSearchListener listener)
public void abandon(LDAPResponseListener listener)
Could be combined into one
public void abandon(LDAPListener listener)
-Steve
Steve Sonntag wrote:
>
> Since LDAPResponseListener and LDAPSearchListenerobjects implement
> exactly the same set of methods,does it seem reasonable that an
> interface be creatednamed something like LDAPListener that
> specifiesthose four methods, and that LDAPSearchListenerand
> LDAPResponseListener implement this interface.This forces those
> methods to stay the same in both classes. -Steve