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
파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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