From 9f1158ba6ac5f36db5a4d374f22276294930dfd7 Mon Sep 17 00:00:00 2001
From: MW
Date: Tue, 12 Jun 2007 14:46:29 +0000
Subject: Some Work on the Primitive class
---
OpenSim/OpenSim.RegionServer/PacketServer.cs | 59 ++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
(limited to 'OpenSim/OpenSim.RegionServer/PacketServer.cs')
diff --git a/OpenSim/OpenSim.RegionServer/PacketServer.cs b/OpenSim/OpenSim.RegionServer/PacketServer.cs
index f4653e9..f3a7d73 100644
--- a/OpenSim/OpenSim.RegionServer/PacketServer.cs
+++ b/OpenSim/OpenSim.RegionServer/PacketServer.cs
@@ -60,6 +60,11 @@ namespace OpenSim
}
}
+ ///
+ ///
+ ///
+ ///
+ ///
public virtual void ClientInPacket(uint circuitCode, Packet packet)
{
if (this.ClientThreads.ContainsKey(circuitCode))
@@ -68,36 +73,79 @@ namespace OpenSim
}
}
+ ///
+ ///
+ ///
+ ///
+ ///
public virtual bool AddNewCircuitCodeClient(uint circuitCode)
{
return false;
}
+ ///
+ ///
+ ///
+ ///
public virtual void SendPacketToAllClients(Packet packet)
{
}
+ ///
+ ///
+ ///
+ ///
+ ///
public virtual void SendPacketToAllExcept(Packet packet, ClientView simClient)
{
}
+ ///
+ ///
+ ///
+ ///
+ ///
public virtual void AddClientPacketHandler(PacketType packetType, PacketMethod handler)
{
}
+ ///
+ ///
+ ///
public virtual void RegisterClientPacketHandlers()
{
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
protected virtual ClientView CreateNewClient(EndPoint remoteEP, UseCircuitCodePacket initialcirpack, Dictionary clientThreads, IWorld world, AssetCache assetCache, PacketServer packServer, InventoryCache inventoryCache, AuthenticateSessionsBase authenSessions)
{
return new ClientView(remoteEP, initialcirpack, clientThreads, world, assetCache, packServer, inventoryCache, authenSessions );
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public virtual bool AddNewClient(EndPoint epSender, UseCircuitCodePacket useCircuit, AssetCache assetCache, InventoryCache inventoryCache, AuthenticateSessionsBase authenticateSessionsClass)
{
ClientView newuser =
@@ -110,11 +158,22 @@ namespace OpenSim
return true;
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public virtual void SendPacketTo(byte[] buffer, int size, SocketFlags flags, uint circuitcode)
{
this._networkHandler.SendPacketTo(buffer, size, flags, circuitcode);
}
+ ///
+ ///
+ ///
+ ///
public virtual void RemoveClientCircuit(uint circuitcode)
{
this._networkHandler.RemoveClientCircuit(circuitcode);
--
cgit v1.1