org.neociclo.odetteftp.protocol.v14
Class OdetteFtpVer14Handler

java.lang.Object
  extended by org.neociclo.odetteftp.protocol.DefaultHandler
      extended by org.neociclo.odetteftp.protocol.v13.OdetteFtpVer13Handler
          extended by org.neociclo.odetteftp.protocol.v14.OdetteFtpVer14Handler
All Implemented Interfaces:
ProtocolHandler
Direct Known Subclasses:
OdetteFtpVer20Handler

public class OdetteFtpVer14Handler
extends OdetteFtpVer13Handler

Version:
$Rev: 801 $ $Date: 2010-10-19 23:53:43 -0200 (Tue, 19 Oct 2010) $
Author:
Rafael Marins

Field Summary
 
Fields inherited from class org.neociclo.odetteftp.protocol.v13.OdetteFtpVer13Handler
MAX_TRANSMITTED_FILE_SIZE_VER13
 
Constructor Summary
OdetteFtpVer14Handler()
           
 
Method Summary
protected  CommandExchangeBuffer buildDeliveryNotificationCommand(DeliveryNotification notif)
           
protected  DeliveryNotification buildNegativeEndResponse(CommandExchangeBuffer nerp)
           
protected  CommandExchangeBuffer buildStartFileCommand(OdetteFtpSession session, VirtualFile vf)
           
protected  DefaultVirtualFile buildVirtualFileObject(OdetteFtpSession session, CommandExchangeBuffer sfid)
           
 void negativeEndReponseReceived(OdetteFtpSession session, CommandExchangeBuffer nerp)
           
protected  VirtualFile normalizeVirtualFile(OdetteFtpSession session, VirtualFile vf)
           
 Date parseDateTime(String sdate, String stime)
           
 short parseTimeTicker(String fileTime)
           
 
Methods inherited from class org.neociclo.odetteftp.protocol.v13.OdetteFtpVer13Handler
authenticationChallengeReceived, authenticationResponseReceived, buildAnswerReasonInfoObject, buildEndFileCommand, buildEndFileNegativeAnswerCommand, buildEndFilePositiveAnswerCommand, buildEndSessionCommand, buildEndSessionReasonInfoObject, buildEndToEndResponse, buildReadyToReceiveCommand, buildStartFileNegativeAnswerCommand, buildStartFilePositiveAnswerCommand, buildStartSessionCommand, protocolMaxFileSizeSupported, securityChangeDirectionReceived
 
Methods inherited from class org.neociclo.odetteftp.protocol.DefaultHandler
abnormalRelease, abort, afterStartSession, buildSetCreditCommand, changeDirectionReceived, checkSessionParamsViolation, consumeIncomingCredits, consumeOutgoingCredits, dataBufferReceived, endFileNegativeAnswerReceived, endFilePositiveAnswerReceived, endFileReceived, endSessionReceived, endToEndResponseReceived, handleCallback, initiatorStartSessionReceived, protocolRelease, readyMessageReceived, readyToReceiveReceived, release, resetIncomingCredits, resetOutgoingCredits, responderSendStartSession, sessionConnected, setCreditReceived, speakerChangeDirection, speakerChangeDirectionPreventingLoop, speakerDeliveryNotification, speakerEndFile, speakerSendData, speakerStartFile, speakerTransmitRequests, startFileNegativeAnswerReceived, startFilePositiveAnswerReceived, startFileReceived, startSessionPasswordAuthentication, startSessionReceived
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OdetteFtpVer14Handler

public OdetteFtpVer14Handler()
Method Detail

buildStartFileCommand

protected CommandExchangeBuffer buildStartFileCommand(OdetteFtpSession session,
                                                      VirtualFile vf)
Overrides:
buildStartFileCommand in class OdetteFtpVer13Handler

normalizeVirtualFile

protected VirtualFile normalizeVirtualFile(OdetteFtpSession session,
                                           VirtualFile vf)
Overrides:
normalizeVirtualFile in class DefaultHandler

buildVirtualFileObject

protected DefaultVirtualFile buildVirtualFileObject(OdetteFtpSession session,
                                                    CommandExchangeBuffer sfid)
                                             throws OdetteFtpException
Overrides:
buildVirtualFileObject in class OdetteFtpVer13Handler
Throws:
OdetteFtpException

negativeEndReponseReceived

public void negativeEndReponseReceived(OdetteFtpSession session,
                                       CommandExchangeBuffer nerp)
                                throws OdetteFtpException
Specified by:
negativeEndReponseReceived in interface ProtocolHandler
Overrides:
negativeEndReponseReceived in class OdetteFtpVer13Handler
Throws:
OdetteFtpException

buildDeliveryNotificationCommand

protected CommandExchangeBuffer buildDeliveryNotificationCommand(DeliveryNotification notif)
Overrides:
buildDeliveryNotificationCommand in class OdetteFtpVer13Handler

buildNegativeEndResponse

protected DeliveryNotification buildNegativeEndResponse(CommandExchangeBuffer nerp)
                                                 throws OdetteFtpException
Overrides:
buildNegativeEndResponse in class OdetteFtpVer13Handler
Throws:
OdetteFtpException

parseTimeTicker

public short parseTimeTicker(String fileTime)

parseDateTime

public Date parseDateTime(String sdate,
                          String stime)
Overrides:
parseDateTime in class OdetteFtpVer13Handler


ACCORD