org.neociclo.odetteftp.examples.support
Class SessionFinalizationListener

java.lang.Object
  extended by org.neociclo.odetteftp.support.OftpletEventListenerAdapter
      extended by org.neociclo.odetteftp.examples.support.SessionFinalizationListener
All Implemented Interfaces:
EventListener, OftpletListener, OftpletSpeaker, OftpletEventListener

public class SessionFinalizationListener
extends OftpletEventListenerAdapter

Version:
$Rev: 706 $ $Date: 2010-09-21 13:57:38 -0300 (Tue, 21 Sep 2010) $
Author:
Rafael Marins

Constructor Summary
SessionFinalizationListener(int noOfSessions)
           
 
Method Summary
 void destroy()
           
 void init(OdetteFtpSession session)
           
 void waitFinalization()
           
 
Methods inherited from class org.neociclo.odetteftp.support.OftpletEventListenerAdapter
acceptStartFile, nextOftpObjectToSend, onDataReceived, onDataSent, onExceptionCaught, onNotificationReceived, onNotificationSent, onReceiveFileEnd, onReceiveFileError, onReceiveFileStart, onSendFileEnd, onSendFileError, onSendFileStart, onSessionEnd, onSessionStart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionFinalizationListener

public SessionFinalizationListener(int noOfSessions)
Method Detail

init

public void init(OdetteFtpSession session)
          throws OdetteFtpException
Specified by:
init in interface OftpletEventListener
Overrides:
init in class OftpletEventListenerAdapter
Throws:
OdetteFtpException

destroy

public void destroy()
Specified by:
destroy in interface OftpletEventListener
Overrides:
destroy in class OftpletEventListenerAdapter

waitFinalization

public void waitFinalization()
                      throws InterruptedException
Throws:
InterruptedException


Copyright © 2006-2010 Neociclo. All Rights Reserved.