This class enables regression testing of the LLUDPServer by allowing us to intercept outgoing data.
More...
|
| TestLLUDPServer (IPAddress listenIP, ref uint port, int proxyPortOffsetParm, bool allow_alternate_port, IConfigSource configSource, AgentCircuitManager circuitManager) |
|
override void | SendAckImmediate (IPEndPoint remoteEndpoint, PacketAckPacket ack) |
|
override void | SendPacket (LLUDPClient udpClient, Packet packet, ThrottleOutPacketType category, bool allowSplitting, UnackedPacketMethod method) |
| Start the process of sending a packet to the client. More...
|
|
void | ClientOutgoingPacketHandler (IClientAPI client, bool resendUnacked, bool sendAcks, bool sendPing) |
|
| LLUDPServer (IPAddress listenIP, ref uint port, int proxyPortOffsetParm, bool allow_alternate_port, IConfigSource configSource, AgentCircuitManager circuitManager) |
|
void | Start () |
|
void | StartInbound () |
|
override void | StartOutbound () |
| Start outbound UDP packet handling. More...
|
|
void | Stop () |
|
override bool | EnablePools () |
|
override bool | DisablePools () |
|
void | AddScene (IScene scene) |
|
bool | HandlesRegion (Location x) |
|
int | GetTotalQueuedOutgoingPackets () |
|
bool | SendPacketData (LLUDPClient udpClient, byte[] data, PacketType type, ThrottleOutPacketType category, UnackedPacketMethod method) |
| Start the process of sending a packet to the client. More...
|
|
void | SendAcks (LLUDPClient udpClient) |
|
void | SendPing (LLUDPClient udpClient) |
|
void | CompletePing (LLUDPClient udpClient, byte pingID) |
|
void | HandleUnacked (LLClientView client) |
|
void | ResendUnacked (OutgoingPacket outgoingPacket) |
|
void | Flush (LLUDPClient udpClient) |
|
override void | PacketReceived (UDPPacketBuffer buffer) |
| This method is called when an incoming packet is received More...
|
|
| OpenSimUDPBase (IPAddress bindAddress, int port) |
| Default constructor More...
|
|
virtual void | StartInbound (int recvBufferSize, bool asyncPacketHandling) |
| Start inbound UDP packet handling. More...
|
|
virtual void | StopInbound () |
|
virtual void | StopOutbound () |
|
void | AsyncBeginSend (UDPPacketBuffer buf) |
|
|
List< Packet > | PacketsSent [get, set] |
|
int | ClientLogoutsDueToNoReceives [get, set] |
| Number of forced client logouts due to no receipt of packets before timeout. More...
|
|
int | DefaultClientPacketDebugLevel [get, set] |
| Default packet debug level given to new clients More...
|
|
bool | DiscardInboundAgentUpdates [get, set] |
| If set then all inbound agent updates are discarded. For debugging purposes. discard agent update. More...
|
|
TokenBucket | Throttle [get, set] |
| Bandwidth throttle for this UDP server More...
|
|
ThrottleRates | ThrottleRates [get, set] |
| Per client throttle rates enforced by this server More...
|
|
Scene | Scene [get, set] |
| Reference to the scene this UDP server is attached to More...
|
|
int | NextAnimationSequenceNumber [get] |
|
Socket | Server [get] |
|
int | IncomingMalformedPacketCount [get, set] |
| Record how many inbound packets could not be recognized as LLUDP packets. More...
|
|
int | IncomingOrphanedPacketCount [get, set] |
| Record how many inbound packets could not be associated with a simulator circuit. More...
|
|
JobEngine | IpahEngine [get, set] |
| Queue some low priority but potentially high volume async requests so that they don't overwhelm available threadpool threads. More...
|
|
JobEngine | OqrEngine [get, set] |
| Run queue empty processing within a single persistent thread. More...
|
|
static long | AggregatedLLUDPBytesIn [get] |
|
static long | AggregatedLLUDPBytesOut [get] |
|
long | IncomingPacketsProcessed [get, set] |
| Number of inbound packets processed since startup. More...
|
|
bool | UsePools [get, set] |
| Are we to use object pool(s) to reduce memory churn when receiving data? More...
|
|
OpenSim.Framework.Pool
< UDPPacketBuffer > | Pool [get, set] |
| Pool to use for handling data. May be null if UsePools = false; More...
|
|
bool | IsRunningInbound [get, set] |
| Returns true if the server is currently listening for inbound packets, otherwise false More...
|
|
bool | IsRunningOutbound [get, set] |
| Returns true if the server is currently sending outbound packets, otherwise false More...
|
|
int | UdpReceives [get, set] |
| Number of UDP receives. More...
|
|
int | UdpSends [get, set] |
| Number of UDP sends More...
|
|
float | AverageReceiveTicksForLastSamplePeriod [get, set] |
| The average time taken for each require receive in the last sample. More...
|
|
|
static void | LogPacketHeader (bool incoming, uint circuit, byte flags, PacketType packetType, ushort size) |
|
const int | MTU = 1400 |
| Maximum transmission unit, or UDP packet size, for the LLUDP protocol More...
|
|
readonly float | TickCountResolution |
| The measured resolution of Environment.TickCount More...
|
|
readonly int | PrimUpdatesPerCallback |
| Number of prim updates to put on the queue each time the OnQueueEmpty event is triggered for updates More...
|
|
readonly int | TextureSendLimit |
| Number of texture packets to put on the queue each time the OnQueueEmpty event is triggered for textures More...
|
|
static PacketLogger | PacketLog |
|
virtual IClientAPI | AddClient (uint circuitCode, UUID agentID, UUID sessionID, IPEndPoint remoteEndPoint, AuthenticateResponse sessionInfo) |
| Add a client. More...
|
|
void | ClientOutgoingPacketHandler (IClientAPI client) |
|
void | LogoutHandler (IClientAPI client) |
|
bool | m_resendUnacked |
| Flag to signal when clients should check for resends More...
|
|
bool | m_sendAcks |
| Flag to signal when clients should send ACKs More...
|
|
bool | m_sendPing |
| Flag to signal when clients should send pings More...
|
|
int | m_udpPort |
| UDP port to bind to in server mode More...
|
|
IPAddress | m_localBindAddress |
| Local IP address to bind to in server mode More...
|
|
static bool | m_shouldCollectStats = false |
|
This class enables regression testing of the LLUDPServer by allowing us to intercept outgoing data.
Definition at line 42 of file TestLLUDPServer.cs.