aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/UDPServer.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim.RegionServer/UDPServer.cs12
1 files changed, 8 insertions, 4 deletions
diff --git a/OpenSim.RegionServer/UDPServer.cs b/OpenSim.RegionServer/UDPServer.cs
index 5c41485..0bab05a 100644
--- a/OpenSim.RegionServer/UDPServer.cs
+++ b/OpenSim.RegionServer/UDPServer.cs
@@ -72,7 +72,11 @@ namespace OpenSim
72 } 72 }
73 } 73 }
74 74
75 public UDPServer(int port, Grid gridServers, AssetCache assetCache, InventoryCache inventoryCache, RegionInfo _regionData, bool sandbox, bool accounts, ConsoleBase console , AuthenticateSessionsBase authenticateClass) 75 public UDPServer()
76 {
77 }
78
79 public UDPServer(int port, Grid gridServers, AssetCache assetCache, InventoryCache inventoryCache, RegionInfo _regionData, bool sandbox, bool accounts, ConsoleBase console, AuthenticateSessionsBase authenticateClass)
76 { 80 {
77 listenPort = port; 81 listenPort = port;
78 this.m_gridServers = gridServers; 82 this.m_gridServers = gridServers;
@@ -84,7 +88,7 @@ namespace OpenSim
84 this.m_console = console; 88 this.m_console = console;
85 this.m_authenticateSessionsClass = authenticateClass; 89 this.m_authenticateSessionsClass = authenticateClass;
86 this.CreatePacketServer(); 90 this.CreatePacketServer();
87 91
88 //set up delegate for authenticate sessions 92 //set up delegate for authenticate sessions
89 this.AuthenticateHandler = new AuthenticateSessionHandler(this.m_authenticateSessionsClass.AuthenticateSession); 93 this.AuthenticateHandler = new AuthenticateSessionHandler(this.m_authenticateSessionsClass.AuthenticateSession);
90 } 94 }
@@ -145,7 +149,7 @@ namespace OpenSim
145 ServerIncoming = new IPEndPoint(IPAddress.Any, listenPort); 149 ServerIncoming = new IPEndPoint(IPAddress.Any, listenPort);
146 Server = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); 150 Server = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
147 Server.Bind(ServerIncoming); 151 Server.Bind(ServerIncoming);
148 152
149 m_console.WriteLine("UDPServer.cs:ServerListener() - UDP socket bound, getting ready to listen"); 153 m_console.WriteLine("UDPServer.cs:ServerListener() - UDP socket bound, getting ready to listen");
150 154
151 ipeSender = new IPEndPoint(IPAddress.Any, 0); 155 ipeSender = new IPEndPoint(IPAddress.Any, 0);
@@ -195,7 +199,7 @@ namespace OpenSim
195 199
196 public virtual AuthenticateResponse AuthenticateSession(LLUUID sessionID, LLUUID agentID, uint circuitCode) 200 public virtual AuthenticateResponse AuthenticateSession(LLUUID sessionID, LLUUID agentID, uint circuitCode)
197 { 201 {
198 return this.AuthenticateHandler(sessionID, agentID, circuitCode); 202 return this.AuthenticateHandler(sessionID, agentID, circuitCode);
199 } 203 }
200 } 204 }
201} \ No newline at end of file 205} \ No newline at end of file