C# 클래스 System.Net.ConnectStream

상속: System.IO.Stream, ICloseEx, IRequestLifetimeTracker
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BeginRead IAsyncResult
BeginReadWithoutValidation IAsyncResult
BeginWrite IAsyncResult
CallDone void
CallDone void
CloseInternal void
CloseInternal void
DrainSocket bool
EnableWriteBuffering void
EndReadWithoutValidation int
ErrorResponseNotify void
ExchangeCallNesting int
FatalResponseNotify void
FillFromBufferedData int
GetChunkHeader byte[]
ICloseEx void
IOError void
IOError void
InternalRead int
InternalWrite IAsyncResult
PollAndRead void
ProcessReadChunkedSize int
ProcessWriteCallDone void
ProcessWriteCallback void
ReadCRLF int
ReadCallback void
ReadChunkedCallback void
ReadChunkedSync int
ReadSingleByte int
ReadWithoutValidation int
ReadWithoutValidation int
RemoveTrailers void
ResubmitWrite void
ResumeClose_Part2 void
ResumeClose_Part2_Wrapper void
ResumeInternalClose void
SafeSetSocketTimeout void
SwitchToContentLength void
WriteCallback void
WriteHeaders void
WriteHeadersCallback void

공개 메소드들

메소드 설명
ConnectStream ( Connection connection, HttpWebRequest request ) : System.Diagnostics
ConnectStream ( Connection connection, byte buffer, int offset, int bufferCount, long readCount, bool chunked, HttpWebRequest request ) : System.Diagnostics
EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
Read ( [ buffer, int offset, int size ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int size ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
BeginRead ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
BeginReadWithoutValidation ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
CallDone ( ) : void
CallDone ( ConnectionReturnResult returnResult ) : void
CloseInternal ( bool internalCall ) : void
CloseInternal ( bool internalCall, bool aborting ) : void
DrainSocket ( ) : bool
EnableWriteBuffering ( ) : void
EndReadWithoutValidation ( int bytesTransferred, bool zeroLengthRead ) : int
ErrorResponseNotify ( bool isKeepAlive ) : void
ExchangeCallNesting ( int value, int comparand ) : int
FatalResponseNotify ( ) : void
FillFromBufferedData ( byte buffer, int &offset, int &size ) : int
GetChunkHeader ( int size, int &offset ) : byte[]
ICloseEx ( CloseExState closeState ) : void
IOError ( Exception exception ) : void
IOError ( Exception exception, bool willThrow ) : void
InternalRead ( byte buffer, int offset, int size ) : int
InternalWrite ( bool async, byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
PollAndRead ( bool userRetrievedStream ) : void
ProcessReadChunkedSize ( StreamChunkBytes ReadByteBuffer ) : int
ProcessWriteCallDone ( ConnectionReturnResult returnResult ) : void
ProcessWriteCallback ( IAsyncResult asyncResult, LazyAsyncResult userResult ) : void
ReadCRLF ( byte buffer ) : int
ReadCallback ( IAsyncResult asyncResult ) : void
ReadChunkedCallback ( object state ) : void
ReadChunkedSync ( byte buffer, int offset, int size ) : int
ReadSingleByte ( ) : int
ReadWithoutValidation ( [ buffer, int offset, int size, bool abortOnError ) : int
ReadWithoutValidation ( byte buffer, int offset, int size ) : int
RemoveTrailers ( StreamChunkBytes ReadByteBuffer ) : void
ResubmitWrite ( ConnectStream oldStream, bool suppressWrite ) : void
ResumeClose_Part2 ( LazyAsyncResult userResult ) : void
ResumeClose_Part2_Wrapper ( IAsyncResult ar ) : void
ResumeInternalClose ( LazyAsyncResult userResult ) : void
SafeSetSocketTimeout ( SocketShutdown mode ) : void
SwitchToContentLength ( ) : void
WriteCallback ( IAsyncResult asyncResult ) : void
WriteHeaders ( bool async ) : void
WriteHeadersCallback ( IAsyncResult ar ) : void

메소드 상세

ConnectStream() 공개 메소드

public ConnectStream ( Connection connection, HttpWebRequest request ) : System.Diagnostics
connection Connection
request HttpWebRequest
리턴 System.Diagnostics

ConnectStream() 공개 메소드

public ConnectStream ( Connection connection, byte buffer, int offset, int bufferCount, long readCount, bool chunked, HttpWebRequest request ) : System.Diagnostics
connection Connection
buffer byte
offset int
bufferCount int
readCount long
chunked bool
request HttpWebRequest
리턴 System.Diagnostics

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EndRead() 공개 메소드

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
리턴 int

EndWrite() 공개 메소드

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

Read() 공개 메소드

public Read ( [ buffer, int offset, int size ) : int
buffer [
offset int
size int
리턴 int

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SetLength() 공개 메소드

public SetLength ( long value ) : void
value long
리턴 void

Write() 공개 메소드

public Write ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
리턴 void