commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anil Philip <goodnewsfor...@yahoo.com>
Subject [commons-net ftp] no call to check protocolCommandListener?
Date Tue, 08 Aug 2006 22:22:10 GMT
Hello,
I notice an addProtocolCommandListener and a remove...
Should there not be a way to check what
protocolCommandListeners have been added?

so that I can say:
if(ftp.commandListeners().size() == 0) {
ftp.addProtocolCommandListener(new
PrintingCommandListener(new PrintWriter(System.out)));
}

thanks,
Anil Philip

for good news go to http://members.tripod.com/~goodnewsforyou/goodnews.html

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message