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
Show file Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Properties

Property 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

Public Methods

Method 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 method

public Destroy ( int whoDoneIt ) : void
whoDoneIt int
return void

OutgoingPacket() public method

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
return OpenMetaverse

Property Details

Buffer public property

Packet data to send
public UDPPacketBuffer Buffer
return UDPPacketBuffer

Category public property

Category this packet belongs to
public ThrottleOutPacketType Category
return ThrottleOutPacketType

Client public property

Client this packet is destined for
public LLUDPClient,Universe.ClientStack Client
return LLUDPClient

FinishedMethod public property

The delegate to be called when this packet is sent
public UnackedPacketMethod FinishedMethod
return UnackedPacketMethod

Packet public property

The packet we are sending
public Packet,OpenMetaverse.Packets Packet
return OpenMetaverse.Packets.Packet

ReSendAttempt public property

The # of times the server has attempted to send this packet
public int ReSendAttempt
return int

ResendCount public property

Number of times this packet has been resent
public int ResendCount
return int

SequenceNumber public property

Sequence number of the wrapped packet
public uint SequenceNumber
return uint

TickCount public property

Environment.TickCount when this packet was last sent over the wire
public int TickCount
return int

UnackedMethod public property

The delegate to be called if this packet is determined to be unacknowledged
public UnackedPacketMethod UnackedMethod
return UnackedPacketMethod

WhoDoneIt public property

public int WhoDoneIt
return int