C# Class 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
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Méthodes publiques

Свойство Type Description
Buffer UDPPacketBuffer
Category ThrottleOutPacketType
Client LLUDPClient
FinishedMethod UnackedPacketMethod
Packet OpenMetaverse.Packets.Packet
ReSendAttempt int
ResendCount int
SequenceNumber uint
TickCount int
UnackedMethod UnackedPacketMethod
WhoDoneIt int

Méthodes publiques

Méthode Description
Destroy ( int whoDoneIt ) : void
OutgoingPacket ( LLUDPClient client, UDPPacketBuffer buffer, ThrottleOutPacketType category, UnackedPacketMethod resendMethod, UnackedPacketMethod finishedMethod, Packet packet ) : OpenMetaverse

Default constructor

Method Details

Destroy() public méthode

public Destroy ( int whoDoneIt ) : void
whoDoneIt int
Résultat void

OutgoingPacket() public méthode

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
Résultat OpenMetaverse

Property Details

Buffer public_oe property

Packet data to send
public UDPPacketBuffer Buffer
Résultat UDPPacketBuffer

Category public_oe property

Category this packet belongs to
public ThrottleOutPacketType Category
Résultat ThrottleOutPacketType

Client public_oe property

Client this packet is destined for
public LLUDPClient,Universe.ClientStack Client
Résultat LLUDPClient

FinishedMethod public_oe property

The delegate to be called when this packet is sent
public UnackedPacketMethod FinishedMethod
Résultat UnackedPacketMethod

Packet public_oe property

The packet we are sending
public Packet,OpenMetaverse.Packets Packet
Résultat OpenMetaverse.Packets.Packet

ReSendAttempt public_oe property

The # of times the server has attempted to send this packet
public int ReSendAttempt
Résultat int

ResendCount public_oe property

Number of times this packet has been resent
public int ResendCount
Résultat int

SequenceNumber public_oe property

Sequence number of the wrapped packet
public uint SequenceNumber
Résultat uint

TickCount public_oe property

Environment.TickCount when this packet was last sent over the wire
public int TickCount
Résultat int

UnackedMethod public_oe property

The delegate to be called if this packet is determined to be unacknowledged
public UnackedPacketMethod UnackedMethod
Résultat UnackedPacketMethod

WhoDoneIt public_oe property

public int WhoDoneIt
Résultat int