From 8c80d98252f376a815e522c705a3c576dfc16f75 Mon Sep 17 00:00:00 2001
From: MW
Date: Sun, 4 Feb 2007 11:36:35 +0000
Subject: Clean up
---
Server.cs | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
(limited to 'Server.cs')
diff --git a/Server.cs b/Server.cs
index 5c8d961..5e1bb5a 100644
--- a/Server.cs
+++ b/Server.cs
@@ -45,8 +45,8 @@ namespace OpenSim
public interface ServerCallback
{
//should replace with delegates
- void MainCallback(Packet pack, User_Agent_info User_info);
- void NewUserCallback(User_Agent_info User_info);
+ void MainCallback(Packet pack, UserAgentInfo User_info);
+ void NewUserCallback(UserAgentInfo User_info);
void ErrorCallback(string text);
}
public class Server
@@ -197,7 +197,7 @@ namespace OpenSim
///
/// Packet to be sent
/// Increment sequence number?
- public void SendPacket(Packet packet, bool incrementSequence, User_Agent_info User_info)
+ public void SendPacket(Packet packet, bool incrementSequence, UserAgentInfo User_info)
{
byte[] buffer;
int bytes;
@@ -324,7 +324,7 @@ namespace OpenSim
///
/// Sends out pending acknowledgements
///
- private void SendAcks(User_Agent_info User_info)
+ private void SendAcks(UserAgentInfo User_info)
{
lock (User_info.PendingAcks)
{
@@ -358,7 +358,7 @@ namespace OpenSim
///
/// Resend unacknowledged packets
///
- private void ResendUnacked(User_Agent_info User_info)
+ private void ResendUnacked(UserAgentInfo User_info)
{
if (connected)
{
@@ -397,7 +397,7 @@ namespace OpenSim
// Update the disconnect flag so this sim doesn't time out
DisconnectCandidate = false;
- User_Agent_info User_info=null;
+ UserAgentInfo User_info=null;
lock (RecvBuffer)
{
@@ -416,7 +416,7 @@ namespace OpenSim
if (packet.Type == PacketType.UseCircuitCode)
{
UseCircuitCodePacket cir_pack=(UseCircuitCodePacket)packet;
- User_Agent_info new_user=new User_Agent_info();
+ UserAgentInfo new_user=new UserAgentInfo();
new_user.circuitCode=cir_pack.CircuitCode.Code;
new_user.AgentID=cir_pack.CircuitCode.ID;
new_user.SessionID=cir_pack.CircuitCode.SessionID;
@@ -429,13 +429,13 @@ namespace OpenSim
}
- User_Agent_info temp_agent=null;
+ UserAgentInfo temp_agent=null;
IPEndPoint send_ip=(IPEndPoint)epSender;
// this.callback_object.error("incoming: address is "+send_ip.Address +"port number is: "+send_ip.Port.ToString());
for(int ii=0; ii PendingAcks = new Dictionary();
- public User_Agent_info()
+ public UserAgentInfo()
{
}
--
cgit v1.1