C# 클래스 OpenStory.Networking.ReceiveDescriptor

상속: DescriptorBase
파일 보기 프로젝트 열기: shoftee/OpenStory 1 사용 예제들

공개 메소드들

메소드 설명
ReceiveDescriptor ( IDescriptorContainer container ) : System

Initializes a new instance of the ReceiveDescriptor class.

StartReceive ( ) : void

Starts the receive process.

보호된 메소드들

메소드 설명
OnClosed ( ) : void

비공개 메소드들

메소드 설명
BeginReceive ( ) : void
ClearBuffer ( ) : void
EndReceiveAsynchronous ( object sender, SocketAsyncEventArgs args ) : void

Asynchronous EndReceive, also the callback for the Completed event.

If there is more data to send, this method will call BeginReceive().

EndReceiveSynchronous ( SocketAsyncEventArgs args ) : bool

Synchronous EndReceive.

HandleTransferredData ( SocketAsyncEventArgs args ) : bool

Handles the transferred data for the operation.

This method returns on connection errors.

ResetPositions ( ) : void
SetFreshBuffer ( ) : void

메소드 상세

OnClosed() 보호된 메소드

protected OnClosed ( ) : void
리턴 void

ReceiveDescriptor() 공개 메소드

Initializes a new instance of the ReceiveDescriptor class.
/// Thrown if is . ///
public ReceiveDescriptor ( IDescriptorContainer container ) : System
container IDescriptorContainer The for the new instance.
리턴 System

StartReceive() 공개 메소드

Starts the receive process.
/// Thrown if the event has no subscribers. ///
public StartReceive ( ) : void
리턴 void