C# Класс Universe.ClientStack.OutgoingPacket

Holds a reference to the LLUDPClient this packet is destined for, along with the serialized packet data, sequence number (if this is a resend), number of times this packet has been resent, the time of the last resend, and the throttling category for this packet
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Buffer UDPPacketBuffer
Category ThrottleOutPacketType
Client LLUDPClient
FinishedMethod UnackedPacketMethod
Packet OpenMetaverse.Packets.Packet
ReSendAttempt int
ResendCount int
SequenceNumber uint
TickCount int
UnackedMethod UnackedPacketMethod
WhoDoneIt int

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

Метод Описание
Destroy ( int whoDoneIt ) : void
OutgoingPacket ( LLUDPClient client, UDPPacketBuffer buffer, ThrottleOutPacketType category, UnackedPacketMethod resendMethod, UnackedPacketMethod finishedMethod, Packet packet ) : OpenMetaverse

Default constructor

Описание методов

Destroy() публичный Метод

public Destroy ( int whoDoneIt ) : void
whoDoneIt int
Результат void

OutgoingPacket() публичный Метод

Default constructor
public OutgoingPacket ( LLUDPClient client, UDPPacketBuffer buffer, ThrottleOutPacketType category, UnackedPacketMethod resendMethod, UnackedPacketMethod finishedMethod, Packet packet ) : OpenMetaverse
client LLUDPClient Reference to the client this packet is destined for
buffer UDPPacketBuffer /// Serialized packet data. If the flags or sequence number /// need to be updated, they will be injected directly into this binary buffer ///
category ThrottleOutPacketType Throttling category for this packet
resendMethod UnackedPacketMethod The delegate to be called if this packet is determined to be unacknowledged
finishedMethod UnackedPacketMethod The delegate to be called when this packet is sent
packet OpenMetaverse.Packets.Packet
Результат OpenMetaverse

Описание свойств

Buffer публичное свойство

Packet data to send
public UDPPacketBuffer Buffer
Результат UDPPacketBuffer

Category публичное свойство

Category this packet belongs to
public ThrottleOutPacketType Category
Результат ThrottleOutPacketType

Client публичное свойство

Client this packet is destined for
public LLUDPClient,Universe.ClientStack Client
Результат LLUDPClient

FinishedMethod публичное свойство

The delegate to be called when this packet is sent
public UnackedPacketMethod FinishedMethod
Результат UnackedPacketMethod

Packet публичное свойство

The packet we are sending
public Packet,OpenMetaverse.Packets Packet
Результат OpenMetaverse.Packets.Packet

ReSendAttempt публичное свойство

The # of times the server has attempted to send this packet
public int ReSendAttempt
Результат int

ResendCount публичное свойство

Number of times this packet has been resent
public int ResendCount
Результат int

SequenceNumber публичное свойство

Sequence number of the wrapped packet
public uint SequenceNumber
Результат uint

TickCount публичное свойство

Environment.TickCount when this packet was last sent over the wire
public int TickCount
Результат int

UnackedMethod публичное свойство

The delegate to be called if this packet is determined to be unacknowledged
public UnackedPacketMethod UnackedMethod
Результат UnackedPacketMethod

WhoDoneIt публичное свойство

public int WhoDoneIt
Результат int