C# Класс OpenStory.Networking.ReceiveDescriptor

Наследование: DescriptorBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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