C# Класс OpenSim.Region.ClientStack.LindenUDP.LLUDPServer

The LLUDP server for a region. This handles incoming and outgoing packets for all UDP connections to the region
Наследование: OpenSimUDPBase
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
PacketLog PacketLogger
PrimUpdatesPerCallback int
TextureSendLimit int
TickCountResolution float

Защищенные свойства (Protected)

Свойство Тип Описание
m_scene Scene
m_shouldCollectStats bool
m_throttle OpenSim.Region.ClientStack.LindenUDP.TokenBucket
m_throttleRates ThrottleRates

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

Метод Описание
AddScene ( IScene scene ) : void
BroadcastPacket ( Packet packet, ThrottleOutPacketType category, bool sendToPausedAgents, bool allowSplitting ) : void
CompletePing ( LLUDPClient udpClient, byte pingID ) : void
Flush ( LLUDPClient udpClient ) : void
HandlesRegion ( Location x ) : bool
LLUDPServer ( IPAddress listenIP, uint &port, int proxyPortOffsetParm, bool allow_alternate_port, IConfigSource configSource, AgentCircuitManager circuitManager ) : System
LogPacketHeader ( bool incoming, uint circuit, byte flags, PacketType packetType, ushort size ) : void
ResendUnacked ( LLUDPClient udpClient ) : void
SendAcks ( LLUDPClient udpClient ) : void
SendPacket ( LLUDPClient udpClient, Packet packet, ThrottleOutPacketType category, bool allowSplitting ) : void
SendPacketData ( LLUDPClient udpClient, byte data, PacketType type, ThrottleOutPacketType category ) : void
SendPing ( LLUDPClient udpClient ) : void
Start ( ) : void
Stop ( ) : void

Защищенные методы

Метод Описание
AddClient ( uint circuitCode, UUID agentID, UUID sessionID, IPEndPoint remoteEndPoint, AuthenticateResponse sessionInfo ) : void
LogoutHandler ( IClientAPI client ) : void
PacketReceived ( UDPPacketBuffer buffer ) : void

Приватные методы

Метод Описание
AddNewClient ( UseCircuitCodePacket useCircuitCode, IPEndPoint remoteEndPoint ) : void
ClientOutgoingPacketHandler ( IClientAPI client ) : void
HandleUseCircuitCode ( object o ) : void
IncomingPacketHandler ( ) : void
IsClientAuthorized ( UseCircuitCodePacket useCircuitCode, AuthenticateResponse &sessionInfo ) : bool
OutgoingPacketHandler ( ) : void
ProcessInPacket ( object state ) : void
RemoveClient ( LLUDPClient udpClient ) : void
SendAckImmediate ( IPEndPoint remoteEndpoint, uint sequenceNumber ) : void
SendPacketFinal ( OutgoingPacket outgoingPacket ) : void

Actually send a packet to a client.

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

AddClient() защищенный Метод

protected AddClient ( uint circuitCode, UUID agentID, UUID sessionID, IPEndPoint remoteEndPoint, AuthenticateResponse sessionInfo ) : void
circuitCode uint
agentID UUID
sessionID UUID
remoteEndPoint System.Net.IPEndPoint
sessionInfo OpenSim.Framework.AuthenticateResponse
Результат void

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

public AddScene ( IScene scene ) : void
scene IScene
Результат void

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

public BroadcastPacket ( Packet packet, ThrottleOutPacketType category, bool sendToPausedAgents, bool allowSplitting ) : void
packet OpenMetaverse.Packets.Packet
category ThrottleOutPacketType
sendToPausedAgents bool
allowSplitting bool
Результат void

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

public CompletePing ( LLUDPClient udpClient, byte pingID ) : void
udpClient LLUDPClient
pingID byte
Результат void

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

public Flush ( LLUDPClient udpClient ) : void
udpClient LLUDPClient
Результат void

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

public HandlesRegion ( Location x ) : bool
x Location
Результат bool

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

public LLUDPServer ( IPAddress listenIP, uint &port, int proxyPortOffsetParm, bool allow_alternate_port, IConfigSource configSource, AgentCircuitManager circuitManager ) : System
listenIP IPAddress
port uint
proxyPortOffsetParm int
allow_alternate_port bool
configSource IConfigSource
circuitManager AgentCircuitManager
Результат System

LogPacketHeader() публичный статический Метод

public static LogPacketHeader ( bool incoming, uint circuit, byte flags, PacketType packetType, ushort size ) : void
incoming bool
circuit uint
flags byte
packetType PacketType
size ushort
Результат void

LogoutHandler() защищенный Метод

protected LogoutHandler ( IClientAPI client ) : void
client IClientAPI
Результат void

PacketReceived() защищенный Метод

protected PacketReceived ( UDPPacketBuffer buffer ) : void
buffer UDPPacketBuffer
Результат void

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

public ResendUnacked ( LLUDPClient udpClient ) : void
udpClient LLUDPClient
Результат void

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

public SendAcks ( LLUDPClient udpClient ) : void
udpClient LLUDPClient
Результат void

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

public SendPacket ( LLUDPClient udpClient, Packet packet, ThrottleOutPacketType category, bool allowSplitting ) : void
udpClient LLUDPClient
packet Packet
category ThrottleOutPacketType
allowSplitting bool
Результат void

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

public SendPacketData ( LLUDPClient udpClient, byte data, PacketType type, ThrottleOutPacketType category ) : void
udpClient LLUDPClient
data byte
type PacketType
category ThrottleOutPacketType
Результат void

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

public SendPing ( LLUDPClient udpClient ) : void
udpClient LLUDPClient
Результат void

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

public Start ( ) : void
Результат void

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

public Stop ( ) : void
Результат void

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

PacketLog публичное статическое свойство

public static PacketLogger PacketLog
Результат PacketLogger

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

Number of prim updates to put on the queue each time the OnQueueEmpty event is triggered for updates
public int PrimUpdatesPerCallback
Результат int

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

Number of texture packets to put on the queue each time the OnQueueEmpty event is triggered for textures
public int TextureSendLimit
Результат int

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

The measured resolution of Environment.TickCount
public float TickCountResolution
Результат float

m_scene защищенное свойство

Reference to the scene this UDP server is attached to
protected Scene m_scene
Результат Scene

m_shouldCollectStats защищенное статическое свойство

protected static bool m_shouldCollectStats
Результат bool

m_throttle защищенное свойство

Bandwidth throttle for this UDP server
protected OpenSim.Region.ClientStack.LindenUDP.TokenBucket m_throttle
Результат OpenSim.Region.ClientStack.LindenUDP.TokenBucket

m_throttleRates защищенное свойство

Bandwidth throttle rates for this UDP server
protected ThrottleRates m_throttleRates
Результат ThrottleRates