C# Class System.Net.PooledStream

Inheritance: Stream
Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Свойство Type Description
Activate bool
BeginMultipleWrite IAsyncResult
BeginRead IAsyncResult
BeginWrite IAsyncResult
CloseSocket void
ConnectionCallback void
Deactivate void
Destroy void
EndMultipleWrite void
MultipleWrite void
Poll bool
PooledStream System
PooledStream System
PostPop void
PrePush void
SetSocketTimeoutOption void
UnsafeBeginRead IAsyncResult
UnsafeBeginWrite IAsyncResult
UpdateLifetime void

Méthodes publiques

Méthode Description
Close ( int timeout ) : void
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
Write ( byte buffer, int offset, int size ) : void

Méthodes protégées

Méthode Description
Activate ( object owningObject, bool async, int timeout, GeneralAsyncDelegate asyncCallback ) : bool
CheckLifetime ( ) : void
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
Activate ( object owningObject, GeneralAsyncDelegate asyncCallback ) : bool
BeginMultipleWrite ( BufferOffsetSize buffers, AsyncCallback callback, object state ) : IAsyncResult
BeginRead ( byte buffer, int offset, int size, AsyncCallback callback, Object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int size, AsyncCallback callback, Object state ) : IAsyncResult
CloseSocket ( ) : void
ConnectionCallback ( object owningObject, Exception e, Socket socket, IPAddress address ) : void
Deactivate ( ) : void
Destroy ( ) : void
EndMultipleWrite ( IAsyncResult asyncResult ) : void
MultipleWrite ( BufferOffsetSize buffers ) : void
Poll ( int microSeconds, SelectMode mode ) : bool
PooledStream ( ConnectionPool connectionPool, System.TimeSpan lifetime, bool checkLifetime ) : System
PooledStream ( object owner ) : System
PostPop ( object newOwner ) : void
PrePush ( object expectedOwner ) : void
SetSocketTimeoutOption ( SocketShutdown mode, int timeout, bool silent ) : void
UnsafeBeginRead ( byte buffer, int offset, int size, AsyncCallback callback, Object state ) : IAsyncResult
UnsafeBeginWrite ( byte buffer, int offset, int size, AsyncCallback callback, Object state ) : IAsyncResult
UpdateLifetime ( ) : void

Method Details

Activate() protected méthode

protected Activate ( object owningObject, bool async, int timeout, GeneralAsyncDelegate asyncCallback ) : bool
owningObject object
async bool
timeout int
asyncCallback GeneralAsyncDelegate
Résultat bool

CheckLifetime() protected méthode

protected CheckLifetime ( ) : void
Résultat void

Close() public méthode

public Close ( int timeout ) : void
timeout int
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EndRead() public méthode

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
Résultat int

EndWrite() public méthode

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
Résultat int

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
Résultat void