com.zion.jbuddy.filetransfer
Class FileSessionAdapter

java.lang.Object
  extended by com.zion.jbuddy.filetransfer.FileSessionAdapter
All Implemented Interfaces:
IFileSessionListener

public class FileSessionAdapter
extends Object
implements IFileSessionListener

Implements all methods in IFileSessionListener to do nothing.

Since:
2.3

Constructor Summary
FileSessionAdapter()
           
 
Method Summary
 void accepted(FileSessionEvent eventProperties)
          The recipient has accepted an outgoing file session.
 void beginTransfer(FileSessionEvent eventProperties)
          A file is about to be transfered.
 void canceled(FileSessionEvent eventProperties)
          The sender has canceled an incoming file session.
 void connected(FileSessionEvent eventProperties)
          A session has been successfully connected.
 void couldNotConnect(FileSessionEvent eventProperties)
          Could not connect to a file session.
 void declined(FileSessionEvent eventProperties)
          The recipient has declined an outgoing file session.
 void endTransfer(FileSessionEvent eventProperties)
          A file has been completely transfered.
 void lostConnection(FileSessionEvent eventProperties)
          A connection has been lost.
 void updateProgress(FileSessionEvent eventProperties)
          This is called from the file session's progress thread, allowing the currentProgress property to be retrieved.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSessionAdapter

public FileSessionAdapter()
Method Detail

accepted

public void accepted(FileSessionEvent eventProperties)
Description copied from interface: IFileSessionListener
The recipient has accepted an outgoing file session.

Specified by:
accepted in interface IFileSessionListener

beginTransfer

public void beginTransfer(FileSessionEvent eventProperties)
Description copied from interface: IFileSessionListener
A file is about to be transfered.

Specified by:
beginTransfer in interface IFileSessionListener

canceled

public void canceled(FileSessionEvent eventProperties)
Description copied from interface: IFileSessionListener
The sender has canceled an incoming file session.

Specified by:
canceled in interface IFileSessionListener

connected

public void connected(FileSessionEvent eventProperties)
Description copied from interface: IFileSessionListener
A session has been successfully connected.

Specified by:
connected in interface IFileSessionListener

couldNotConnect

public void couldNotConnect(FileSessionEvent eventProperties)
Description copied from interface: IFileSessionListener
Could not connect to a file session.

Specified by:
couldNotConnect in interface IFileSessionListener

declined

public void declined(FileSessionEvent eventProperties)
Description copied from interface: IFileSessionListener
The recipient has declined an outgoing file session.

Specified by:
declined in interface IFileSessionListener

endTransfer

public void endTransfer(FileSessionEvent eventProperties)
Description copied from interface: IFileSessionListener
A file has been completely transfered.

Specified by:
endTransfer in interface IFileSessionListener

lostConnection

public void lostConnection(FileSessionEvent eventProperties)
Description copied from interface: IFileSessionListener
A connection has been lost.

Specified by:
lostConnection in interface IFileSessionListener

updateProgress

public void updateProgress(FileSessionEvent eventProperties)
Description copied from interface: IFileSessionListener
This is called from the file session's progress thread, allowing the currentProgress property to be retrieved.

Specified by:
updateProgress in interface IFileSessionListener


JBuddy is a trademark of Zion Software, LLC in the US and other countries.
Copyright 2000-2012 Zion Software, LLC All Rights Reserved.