org.exoplatform.frameworks.ftpclient.client
Interface FtpClientSession

All Known Implementing Classes:
FtpClientSessionImpl

public interface FtpClientSession

Created by The eXo Platform SAS .

Version:
$Id: FtpClientSession.java 35179 2009-08-07 13:58:20Z pnedonosko $
Author:
Vitaly Guly

Method Summary
 void close()
           
 boolean connect()
           
 boolean connect(int attemptsCount)
           
 int executeCommand(FtpCommand command)
           
 int executeCommand(FtpCommand command, int expectReply, int attemptsCount)
           
 java.net.Socket getClientSocket()
           
 FtpDataTransiver getDataTransiver()
           
 java.lang.String getSystemType()
           
 void setDataTransiver(FtpDataTransiver dataTransiver)
           
 void setSystemType(java.lang.String systemType)
           
 

Method Detail

getClientSocket

java.net.Socket getClientSocket()

connect

boolean connect()
                throws java.lang.Exception
Throws:
java.lang.Exception

connect

boolean connect(int attemptsCount)
                throws java.lang.Exception
Throws:
java.lang.Exception

close

void close()

executeCommand

int executeCommand(FtpCommand command)
                   throws java.lang.Exception
Throws:
java.lang.Exception

executeCommand

int executeCommand(FtpCommand command,
                   int expectReply,
                   int attemptsCount)
                   throws java.lang.Exception
Throws:
java.lang.Exception

setSystemType

void setSystemType(java.lang.String systemType)

getSystemType

java.lang.String getSystemType()

setDataTransiver

void setDataTransiver(FtpDataTransiver dataTransiver)

getDataTransiver

FtpDataTransiver getDataTransiver()


Copyright © 2010 eXo Platform SAS. All Rights Reserved.