* refactor: rename interface to put standard I prefix in front
parent
e7cd583c1e
commit
4d32cd34e8
|
@ -29,10 +29,10 @@ using System.Net.Sockets;
|
|||
|
||||
namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
{
|
||||
public interface LLClientStackNetworkHandler
|
||||
public interface ILLClientStackNetworkHandler
|
||||
{
|
||||
void SendPacketTo(byte[] buffer, int size, SocketFlags flags, uint circuitcode); // EndPoint packetSender);
|
||||
void RemoveClientCircuit(uint circuitcode);
|
||||
void RegisterPacketServer(LLPacketServer server);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -39,7 +39,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
//private static readonly log4net.ILog m_log
|
||||
// = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
protected readonly LLClientStackNetworkHandler m_networkHandler;
|
||||
protected readonly ILLClientStackNetworkHandler m_networkHandler;
|
||||
protected IScene m_scene;
|
||||
|
||||
//private readonly ClientManager m_clientManager = new ClientManager();
|
||||
|
@ -48,7 +48,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
// get { return m_clientManager; }
|
||||
//}
|
||||
|
||||
public LLPacketServer(LLClientStackNetworkHandler networkHandler)
|
||||
public LLPacketServer(ILLClientStackNetworkHandler networkHandler)
|
||||
{
|
||||
m_networkHandler = networkHandler;
|
||||
m_networkHandler.RegisterPacketServer(this);
|
||||
|
|
|
@ -42,7 +42,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
/// <summary>
|
||||
/// This class handles the initial UDP circuit setup with a client and passes on subsequent packets to the LLPacketServer
|
||||
/// </summary>
|
||||
public class LLUDPServer : LLClientStackNetworkHandler, IClientNetworkServer
|
||||
public class LLUDPServer : ILLClientStackNetworkHandler, IClientNetworkServer
|
||||
{
|
||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
|
|
Loading…
Reference in New Issue