C# Class OpenSim.Region.ClientStack.LindenUDP.LLUDPServer

The LLUDP server for a region. This handles incoming and outgoing packets for all UDP connections to the region
Inheritance: OpenSimUDPBase
Afficher le fichier Open project: N3X15/VoxelSim Class Usage Examples

Méthodes publiques

Свойство Type Description
PacketLog PacketLogger
PrimUpdatesPerCallback int
TextureSendLimit int
TickCountResolution float

Protected Properties

Свойство Type Description
m_scene Scene
m_shouldCollectStats bool
m_throttle OpenSim.Region.ClientStack.LindenUDP.TokenBucket
m_throttleRates ThrottleRates

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
AddClient ( uint circuitCode, UUID agentID, UUID sessionID, IPEndPoint remoteEndPoint, AuthenticateResponse sessionInfo ) : void
LogoutHandler ( IClientAPI client ) : void
PacketReceived ( UDPPacketBuffer buffer ) : void

Private Methods

Méthode Description
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.

Method Details

AddClient() protected méthode

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

AddScene() public méthode

public AddScene ( IScene scene ) : void
scene IScene
Résultat void

BroadcastPacket() public méthode

public BroadcastPacket ( Packet packet, ThrottleOutPacketType category, bool sendToPausedAgents, bool allowSplitting ) : void
packet OpenMetaverse.Packets.Packet
category ThrottleOutPacketType
sendToPausedAgents bool
allowSplitting bool
Résultat void

CompletePing() public méthode

public CompletePing ( LLUDPClient udpClient, byte pingID ) : void
udpClient LLUDPClient
pingID byte
Résultat void

Flush() public méthode

public Flush ( LLUDPClient udpClient ) : void
udpClient LLUDPClient
Résultat void

HandlesRegion() public méthode

public HandlesRegion ( Location x ) : bool
x Location
Résultat bool

LLUDPServer() public méthode

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

LogPacketHeader() public static méthode

public static LogPacketHeader ( bool incoming, uint circuit, byte flags, PacketType packetType, ushort size ) : void
incoming bool
circuit uint
flags byte
packetType PacketType
size ushort
Résultat void

LogoutHandler() protected méthode

protected LogoutHandler ( IClientAPI client ) : void
client IClientAPI
Résultat void

PacketReceived() protected méthode

protected PacketReceived ( UDPPacketBuffer buffer ) : void
buffer UDPPacketBuffer
Résultat void

ResendUnacked() public méthode

public ResendUnacked ( LLUDPClient udpClient ) : void
udpClient LLUDPClient
Résultat void

SendAcks() public méthode

public SendAcks ( LLUDPClient udpClient ) : void
udpClient LLUDPClient
Résultat void

SendPacket() public méthode

public SendPacket ( LLUDPClient udpClient, Packet packet, ThrottleOutPacketType category, bool allowSplitting ) : void
udpClient LLUDPClient
packet Packet
category ThrottleOutPacketType
allowSplitting bool
Résultat void

SendPacketData() public méthode

public SendPacketData ( LLUDPClient udpClient, byte data, PacketType type, ThrottleOutPacketType category ) : void
udpClient LLUDPClient
data byte
type PacketType
category ThrottleOutPacketType
Résultat void

SendPing() public méthode

public SendPing ( LLUDPClient udpClient ) : void
udpClient LLUDPClient
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

Property Details

PacketLog public_oe static_oe property

public static PacketLogger PacketLog
Résultat PacketLogger

PrimUpdatesPerCallback public_oe property

Number of prim updates to put on the queue each time the OnQueueEmpty event is triggered for updates
public int PrimUpdatesPerCallback
Résultat int

TextureSendLimit public_oe property

Number of texture packets to put on the queue each time the OnQueueEmpty event is triggered for textures
public int TextureSendLimit
Résultat int

TickCountResolution public_oe property

The measured resolution of Environment.TickCount
public float TickCountResolution
Résultat float

m_scene protected_oe property

Reference to the scene this UDP server is attached to
protected Scene m_scene
Résultat Scene

m_shouldCollectStats protected_oe static_oe property

protected static bool m_shouldCollectStats
Résultat bool

m_throttle protected_oe property

Bandwidth throttle for this UDP server
protected OpenSim.Region.ClientStack.LindenUDP.TokenBucket m_throttle
Résultat OpenSim.Region.ClientStack.LindenUDP.TokenBucket

m_throttleRates protected_oe property

Bandwidth throttle rates for this UDP server
protected ThrottleRates m_throttleRates
Résultat ThrottleRates