apps.mtdesktop.tabletop.fileserver
Interface FtpServerServlet.FtpServletListener

All Known Implementing Classes:
TabletopContentManager
Enclosing class:
FtpServerServlet

public static interface FtpServerServlet.FtpServletListener

The listener interface for receiving ftpServlet events. The class that is interested in processing a ftpServlet event implements this interface, and the object created with that class is registered with a component using the component's addFtpServletListener method. When the ftpServlet event occurs, that object's appropriate method is invoked.

See Also:
FtpServletEvent

Method Summary
 void fileDownloaded(java.io.File file)
          File downloaded.
 void fileUploaded(TableIdentity peerId, java.lang.String assetId, java.io.File file)
          File uploaded.
 

Method Detail

fileDownloaded

void fileDownloaded(java.io.File file)
File downloaded.

Parameters:
file - the file

fileUploaded

void fileUploaded(TableIdentity peerId,
                  java.lang.String assetId,
                  java.io.File file)
File uploaded.

Parameters:
peerId - the peer id
assetId - the asset id
file - the file