* refactor: rename interface to put standard I prefix in front

0.6.0-stable
Justin Clarke Casey 2008-10-01 20:30:30 +00:00
parent e7cd583c1e
commit 4d32cd34e8
3 changed files with 5 additions and 5 deletions

View File

@ -29,10 +29,10 @@ using System.Net.Sockets;
namespace OpenSim.Region.ClientStack.LindenUDP namespace OpenSim.Region.ClientStack.LindenUDP
{ {
public interface LLClientStackNetworkHandler public interface ILLClientStackNetworkHandler
{ {
void SendPacketTo(byte[] buffer, int size, SocketFlags flags, uint circuitcode); // EndPoint packetSender); void SendPacketTo(byte[] buffer, int size, SocketFlags flags, uint circuitcode); // EndPoint packetSender);
void RemoveClientCircuit(uint circuitcode); void RemoveClientCircuit(uint circuitcode);
void RegisterPacketServer(LLPacketServer server); void RegisterPacketServer(LLPacketServer server);
} }
} }

View File

@ -39,7 +39,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
//private static readonly log4net.ILog m_log //private static readonly log4net.ILog m_log
// = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); // = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
protected readonly LLClientStackNetworkHandler m_networkHandler; protected readonly ILLClientStackNetworkHandler m_networkHandler;
protected IScene m_scene; protected IScene m_scene;
//private readonly ClientManager m_clientManager = new ClientManager(); //private readonly ClientManager m_clientManager = new ClientManager();
@ -48,7 +48,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
// get { return m_clientManager; } // get { return m_clientManager; }
//} //}
public LLPacketServer(LLClientStackNetworkHandler networkHandler) public LLPacketServer(ILLClientStackNetworkHandler networkHandler)
{ {
m_networkHandler = networkHandler; m_networkHandler = networkHandler;
m_networkHandler.RegisterPacketServer(this); m_networkHandler.RegisterPacketServer(this);

View File

@ -42,7 +42,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
/// <summary> /// <summary>
/// This class handles the initial UDP circuit setup with a client and passes on subsequent packets to the LLPacketServer /// This class handles the initial UDP circuit setup with a client and passes on subsequent packets to the LLPacketServer
/// </summary> /// </summary>
public class LLUDPServer : LLClientStackNetworkHandler, IClientNetworkServer public class LLUDPServer : ILLClientStackNetworkHandler, IClientNetworkServer
{ {
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);