aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Examples/SimpleApp2/MyPacketServer.cs
diff options
context:
space:
mode:
authorlbsa712007-06-20 15:18:54 +0000
committerlbsa712007-06-20 15:18:54 +0000
commit64ed1e1b3bea2b187679a7e61a7d56292c47daab (patch)
tree6757719377b1cfd0300e9ff47eba543f5236be26 /OpenSim/Examples/SimpleApp2/MyPacketServer.cs
parent* re-added SimpleApp projects (diff)
downloadopensim-SC_OLD-64ed1e1b3bea2b187679a7e61a7d56292c47daab.zip
opensim-SC_OLD-64ed1e1b3bea2b187679a7e61a7d56292c47daab.tar.gz
opensim-SC_OLD-64ed1e1b3bea2b187679a7e61a7d56292c47daab.tar.bz2
opensim-SC_OLD-64ed1e1b3bea2b187679a7e61a7d56292c47daab.tar.xz
* Removed ClientThreads from avatar
* Deleted SimpleApp2 as it's getting wonkier and wonkier by the minute * Added avatar handling to SimpleApp, still don't have any avatar out on the playing field * Removed some warnings * Went from IWorld to Scene *
Diffstat (limited to '')
-rw-r--r--OpenSim/Examples/SimpleApp2/MyPacketServer.cs32
1 files changed, 0 insertions, 32 deletions
diff --git a/OpenSim/Examples/SimpleApp2/MyPacketServer.cs b/OpenSim/Examples/SimpleApp2/MyPacketServer.cs
deleted file mode 100644
index 67878c4..0000000
--- a/OpenSim/Examples/SimpleApp2/MyPacketServer.cs
+++ /dev/null
@@ -1,32 +0,0 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using OpenSim;
5using OpenSim.Assets;
6using System.Net;
7using libsecondlife.Packets;
8using OpenSim.Framework.Interfaces;
9using OpenSim.Framework;
10using OpenSim.Caches;
11
12namespace SimpleApp2
13{
14 public class MyPacketServer : PacketServer
15 {
16 private float[] m_map;
17
18 public MyPacketServer(float[] map, ClientStackNetworkHandler networkHandler, uint port)
19 : base(networkHandler, port)
20 {
21 m_map = map;
22 }
23
24 protected override ClientView CreateNewClient(EndPoint remoteEP, UseCircuitCodePacket initialcirpack, Dictionary<uint, ClientView> clientThreads, IWorld world, AssetCache assetCache, PacketServer packServer, InventoryCache inventoryCache, AuthenticateSessionsBase authenSessions)
25 {
26 // (EndPoint remoteEP, UseCircuitCodePacket initialcirpack, Dictionary<uint, ClientView> clientThreads, IWorld world, AssetCache assetCache, PacketServer packServer, InventoryCache inventoryCache, AuthenticateSessionsBase authenSessions)
27
28
29 return new MyClientView(m_map, ClientAPIs, remoteEP, initialcirpack, clientThreads, world, assetCache, packServer, inventoryCache, authenSessions);
30 }
31 }
32}