|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FTPClientObserver
Instances of this observer receive notifications of the progress
of the work of an FTPClient
to which they have to
be registered.
Copyright (C) 2000-2008 Javier Iglesias.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Method Summary | |
---|---|
void |
commandSent(java.lang.String command)
Method called when a command has been sent to the FTP server. |
void |
controlConnectionClosed()
Method called whenever a new connection is closed with a server. |
void |
controlConnectionOpened()
Method called whenever a new connection is opened with a server. |
void |
dataReceived(int bytes)
Method called whenever data is received from the FTP server. |
void |
dataSent(int bytes)
Method called whenever data is sent to the FTP server. |
void |
isObserving(boolean isIt)
Method called by an FTPClient when
this is added or removed as an observer. |
void |
responseReceived(FTPResponse response)
Method called when a response is received from the FTP server. |
Method Detail |
---|
void isObserving(boolean isIt)
FTPClient
when
this
is added or removed as an observer.
[API DISCUSSION : Do you think this is useless ?]
isIt
- true
when this
is
a new observer of a FTPClient
,
false
when removed.void controlConnectionOpened()
void controlConnectionClosed()
void commandSent(java.lang.String command)
void responseReceived(FTPResponse response)
void dataReceived(int bytes)
FTPClient
.
bytes
- number of bytes of data received from the server.void dataSent(int bytes)
FTPClient
.
bytes
- number of bytes of data sent to the server.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |