C# 클래스 AK.F1.Timing.Server.Proxy.ProxySession

This class cannot be inherited.
상속: DisposableBase
파일 보기 프로젝트 열기: simoneb/ak-f1-timing 1 사용 예제들

공개 메소드들

메소드 설명
CompleteAsync ( ) : void

Signals that the session should complete when all pending buffers have been sent.

ProxySession ( int id, Socket client ) : System

Initialises a new instance of the AK.F1.Timing.Server.Proxy.ProxySession class and specifies the session identifier and client socket.

SendAsync ( ByteBufferSnapshot buffer ) : void

Begins an asynchronous operation to send the specified buffer.

SendAsync ( IEnumerable buffers ) : void

Begins an asynchronous operation to send the specified buffers.

보호된 메소드들

메소드 설명
DisposeOfManagedResources ( ) : void

비공개 메소드들

메소드 설명
Disconnect ( ) : void
DisconnectCallback ( ) : void
Dispose ( ) : void
OnSocketOperationCompleted ( object sender, SocketAsyncEventArgs e ) : void
SendNextBuffer ( ) : void
SendNextBufferIfNotBusy ( ) : void
SendNextPartialBufferSegment ( ) : void
SendOutputBuffer ( int count ) : void
SendOutputBufferCallback ( ) : void
TrySetBusy ( ) : bool

메소드 상세

CompleteAsync() 공개 메소드

Signals that the session should complete when all pending buffers have been sent.
/// Thrown when the this instance has been disposed of. ///
public CompleteAsync ( ) : void
리턴 void

DisposeOfManagedResources() 보호된 메소드

protected DisposeOfManagedResources ( ) : void
리턴 void

ProxySession() 공개 메소드

Initialises a new instance of the AK.F1.Timing.Server.Proxy.ProxySession class and specifies the session identifier and client socket.
/// Thrown when is . ///
public ProxySession ( int id, Socket client ) : System
id int The session identifier.
client System.Net.Sockets.Socket The client .
리턴 System

SendAsync() 공개 메소드

Begins an asynchronous operation to send the specified buffer.
/// Thrown when the this instance has been disposed of. ///
public SendAsync ( ByteBufferSnapshot buffer ) : void
buffer AK.F1.Timing.Server.IO.ByteBufferSnapshot The buffer to send.
리턴 void

SendAsync() 공개 메소드

Begins an asynchronous operation to send the specified buffers.
/// Thrown when is . /// /// Thrown when the this instance has been disposed of. ///
public SendAsync ( IEnumerable buffers ) : void
buffers IEnumerable The buffers to send.
리턴 void