C# 클래스 SharpCifs.Util.Transport.Transport

This class simplifies communication for protocols that support multiplexing requests.
This class simplifies communication for protocols that support multiplexing requests. It encapsulates a stream and some protocol knowledge (provided by a concrete subclass) so that connecting, disconnecting, sending, and receiving can be syncronized properly. Apparatus is provided to send and receive requests concurrently.
상속: IRunnable
파일 보기 프로젝트 열기: brandonprry/Potato

보호된 프로퍼티들

프로퍼티 타입 설명
ResponseMap Hashtable

공개 메소드들

메소드 설명
Connect ( long timeout ) : void
Disconnect ( bool hard ) : void
Readn ( InputStream @in, byte b, int off, int len ) : int
Run ( ) : void
Sendrecv ( ServerMessageBlock request, Response response, long timeout ) : void
ToString ( ) : string

보호된 메소드들

메소드 설명
DoConnect ( ) : void
DoDisconnect ( bool hard ) : void
DoRecv ( Response response ) : void
DoSend ( ServerMessageBlock request ) : void
DoSkip ( ) : void
MakeKey ( ServerMessageBlock request ) : void
PeekKey ( ) : ServerMessageBlock

비공개 메소드들

메소드 설명
Loop ( ) : void

메소드 상세

Connect() 공개 메소드

public Connect ( long timeout ) : void
timeout long
리턴 void

Disconnect() 공개 메소드

public Disconnect ( bool hard ) : void
hard bool
리턴 void

DoConnect() 보호된 추상적인 메소드

protected abstract DoConnect ( ) : void
리턴 void

DoDisconnect() 보호된 추상적인 메소드

protected abstract DoDisconnect ( bool hard ) : void
hard bool
리턴 void

DoRecv() 보호된 추상적인 메소드

protected abstract DoRecv ( Response response ) : void
response Response
리턴 void

DoSend() 보호된 추상적인 메소드

protected abstract DoSend ( ServerMessageBlock request ) : void
request SharpCifs.Smb.ServerMessageBlock
리턴 void

DoSkip() 보호된 추상적인 메소드

protected abstract DoSkip ( ) : void
리턴 void

MakeKey() 보호된 추상적인 메소드

protected abstract MakeKey ( ServerMessageBlock request ) : void
request SharpCifs.Smb.ServerMessageBlock
리턴 void

PeekKey() 보호된 추상적인 메소드

protected abstract PeekKey ( ) : ServerMessageBlock
리턴 SharpCifs.Smb.ServerMessageBlock

Readn() 공개 정적인 메소드

public static Readn ( InputStream @in, byte b, int off, int len ) : int
@in SharpCifs.Util.Sharpen.InputStream
b byte
off int
len int
리턴 int

Run() 공개 메소드

public Run ( ) : void
리턴 void

Sendrecv() 공개 메소드

public Sendrecv ( ServerMessageBlock request, Response response, long timeout ) : void
request SharpCifs.Smb.ServerMessageBlock
response Response
timeout long
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

ResponseMap 보호되어 있는 프로퍼티

protected Hashtable ResponseMap
리턴 Hashtable