diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Examples/SimpleApp/Program.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Examples/SimpleApp/Program.cs b/OpenSim/Examples/SimpleApp/Program.cs index 6d89cbe..de6e6d3 100644 --- a/OpenSim/Examples/SimpleApp/Program.cs +++ b/OpenSim/Examples/SimpleApp/Program.cs | |||
@@ -19,13 +19,13 @@ namespace SimpleApp | |||
19 | { | 19 | { |
20 | class Program : IAssetReceiver, conscmd_callback | 20 | class Program : IAssetReceiver, conscmd_callback |
21 | { | 21 | { |
22 | private LogBase m_console; | 22 | private LogBase m_log; |
23 | AuthenticateSessionsBase m_circuitManager; | 23 | AuthenticateSessionsBase m_circuitManager; |
24 | 24 | ||
25 | private void Run() | 25 | private void Run() |
26 | { | 26 | { |
27 | m_console = new LogBase(null, "SimpleApp", this, false); | 27 | m_log = new LogBase(null, "SimpleApp", this, false); |
28 | MainLog.Instance = m_console; | 28 | MainLog.Instance = m_log; |
29 | 29 | ||
30 | CheckSumServer checksumServer = new CheckSumServer(12036); | 30 | CheckSumServer checksumServer = new CheckSumServer(12036); |
31 | checksumServer.ServerListener(); | 31 | checksumServer.ServerListener(); |
@@ -47,7 +47,7 @@ namespace SimpleApp | |||
47 | 47 | ||
48 | AssetCache assetCache = new AssetCache(assetServer); | 48 | AssetCache assetCache = new AssetCache(assetServer); |
49 | 49 | ||
50 | UDPServer udpServer = new UDPServer(simPort, assetCache, inventoryCache, m_console, m_circuitManager ); | 50 | UDPServer udpServer = new UDPServer(simPort, assetCache, inventoryCache, m_log, m_circuitManager ); |
51 | PacketServer packetServer = new PacketServer( udpServer, (uint) simPort ); | 51 | PacketServer packetServer = new PacketServer( udpServer, (uint) simPort ); |
52 | udpServer.ServerListener(); | 52 | udpServer.ServerListener(); |
53 | 53 | ||
@@ -68,13 +68,13 @@ namespace SimpleApp | |||
68 | httpServer.AddXmlRPCHandler( "login_to_simulator", loginServer.XmlRpcLoginMethod ); | 68 | httpServer.AddXmlRPCHandler( "login_to_simulator", loginServer.XmlRpcLoginMethod ); |
69 | httpServer.Start(); | 69 | httpServer.Start(); |
70 | 70 | ||
71 | m_console.WriteLine( LogPriority.NORMAL, "Press enter to quit."); | 71 | m_log.WriteLine( LogPriority.NORMAL, "Press enter to quit."); |
72 | m_console.ReadLine(); | 72 | m_log.ReadLine(); |
73 | } | 73 | } |
74 | 74 | ||
75 | private bool AddNewSessionHandler(ulong regionHandle, Login loginData) | 75 | private bool AddNewSessionHandler(ulong regionHandle, Login loginData) |
76 | { | 76 | { |
77 | m_console.WriteLine(LogPriority.NORMAL, "Region [{0}] recieved Login from [{1}] [{2}]", regionHandle, loginData.First, loginData.Last); | 77 | m_log.WriteLine(LogPriority.NORMAL, "Region [{0}] recieved Login from [{1}] [{2}]", regionHandle, loginData.First, loginData.Last); |
78 | 78 | ||
79 | AgentCircuitData agent = new AgentCircuitData(); | 79 | AgentCircuitData agent = new AgentCircuitData(); |
80 | agent.AgentID = loginData.Agent; | 80 | agent.AgentID = loginData.Agent; |