C# 클래스 SuperSocket.Ftp.FtpService.DataConnection

파일 보기 프로젝트 열기: kerryjiang/SuperSocket.FtpServer 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void
DataConnection ( FtpSession session, Socket listenSocket, int port ) : System
GetStream ( SuperSocket.Ftp.FtpService.FtpContext context ) : Stream

Gets the stream.

RunDataConnection ( ) : Task
SendResponse ( SuperSocket.Ftp.FtpService.FtpContext context, List list ) : void

보호된 메소드들

메소드 설명
OnClose ( ) : void

Called when [close].

비공개 메소드들

메소드 설명
GetFixedLength ( long length ) : string
GetListTimeString ( System.DateTime time ) : string
InitStream ( SuperSocket.Ftp.FtpService.FtpContext context ) : void
ProcessAccept ( SocketAsyncEventArgs e ) : void
StopListener ( ) : void
TryListenSocketPort ( IPAddress address, int tryPort ) : Socket
TryOpenDataConnection ( FtpSession session, DataConnection &dataConnection ) : bool
TryOpenDataConnection ( FtpSession session, int port, DataConnection &dataConnection ) : bool
acceptEventArgs_Completed ( object sender, SocketAsyncEventArgs e ) : void

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

DataConnection() 공개 메소드

public DataConnection ( FtpSession session, Socket listenSocket, int port ) : System
session FtpSession
listenSocket Socket
port int
리턴 System

GetStream() 공개 메소드

Gets the stream.
public GetStream ( SuperSocket.Ftp.FtpService.FtpContext context ) : Stream
context SuperSocket.Ftp.FtpService.FtpContext The context.
리턴 Stream

OnClose() 보호된 메소드

Called when [close].
protected OnClose ( ) : void
리턴 void

RunDataConnection() 공개 메소드

public RunDataConnection ( ) : Task
리턴 Task

SendResponse() 공개 메소드

public SendResponse ( SuperSocket.Ftp.FtpService.FtpContext context, List list ) : void
context SuperSocket.Ftp.FtpService.FtpContext
list List
리턴 void