C# 클래스 System.Runtime.Remoting.Channels.SocketStream

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

공개 메소드들

메소드 설명
BeginRead ( byte buffer, int offset, int size, AsyncCallback callback, Object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int size, AsyncCallback callback, Object state ) : IAsyncResult
EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
Read ( byte buffer, int offset, int size ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
SocketStream ( Socket socket ) : System
Write ( byte buffer, int offset, int count ) : void

보호된 메소드들

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

메소드 상세

BeginRead() 공개 메소드

public BeginRead ( byte buffer, int offset, int size, AsyncCallback callback, Object state ) : IAsyncResult
buffer byte
offset int
size int
callback AsyncCallback
state Object
리턴 IAsyncResult

BeginWrite() 공개 메소드

public BeginWrite ( byte buffer, int offset, int size, AsyncCallback callback, Object state ) : IAsyncResult
buffer byte
offset int
size int
callback AsyncCallback
state Object
리턴 IAsyncResult

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 ( byte buffer, int offset, int size ) : int
buffer byte
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

SocketStream() 공개 메소드

public SocketStream ( Socket socket ) : System
socket System.Net.Sockets.Socket
리턴 System

Write() 공개 메소드

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