|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.webphotos.sync.FTP.SyncAdapter
public class SyncAdapter
Adapta o listener para sincronização. Implementa a classe SyncListener.
Constructor Summary | |
---|---|
SyncAdapter()
Construtor da classe. |
Method Summary | |
---|---|
void |
addSyncListener(SyncListener listener)
Registra a FTPSyncListener para receber FTPSyncEvents. |
void |
connected(SyncEvent event)
Implementa o método connected da interface SyncListener . |
void |
disconnected(SyncEvent event)
Implementa o método disconnected da interface SyncListener . |
void |
logonStarted(SyncEvent event)
Implementa o método logonStarted da interface SyncListener . |
void |
removeSyncListener(SyncListener listener)
Remove a FTPSyncListener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyncAdapter()
Method Detail |
---|
public void addSyncListener(SyncListener listener)
listener
- O FTPSyncListener para registrar.public void removeSyncListener(SyncListener listener)
listener
- O FTPSyncListener para remover.public void disconnected(SyncEvent event)
SyncListener
.
Esse método será manipulado e trabalhado na classe
FtpClient
.
disconnected
in interface SyncListener
event
- Evento de SyncEvent.public void connected(SyncEvent event)
SyncListener
.
Esse método será manipulado e trabalhado na classe
FtpClient
.
connected
in interface SyncListener
event
- Evento de SyncEvent.public void logonStarted(SyncEvent event)
SyncListener
.
Esse método será manipulado e trabalhado na classe
FtpClient
.
logonStarted
in interface SyncListener
event
- Evento de SyncEvent.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |