mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
* Merged ClientViewBase into ClientView for great justice
This commit is contained in:
@@ -38,7 +38,7 @@ using OpenSim.Region.Environment;
|
||||
|
||||
namespace OpenSim.Region.ClientStack
|
||||
{
|
||||
public abstract class ClientViewBase
|
||||
public partial class ClientView
|
||||
{
|
||||
protected BlockingQueue<QueItem> PacketQueue;
|
||||
protected Dictionary<uint, uint> PendingAcks = new Dictionary<uint, uint>();
|
||||
@@ -56,8 +56,6 @@ namespace OpenSim.Region.ClientStack
|
||||
|
||||
protected PacketServer m_networkServer;
|
||||
|
||||
protected abstract void ProcessInPacket(Packet Pack);
|
||||
|
||||
protected virtual void ProcessOutPacket(Packet Pack)
|
||||
{
|
||||
// Keep track of when this packet was sent out
|
||||
@@ -300,10 +298,6 @@ namespace OpenSim.Region.ClientStack
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected abstract void KillThread();
|
||||
|
||||
public abstract void ConnectionClosed();
|
||||
|
||||
#region Nested Classes
|
||||
|
||||
public class QueItem
|
||||
@@ -59,7 +59,7 @@ namespace OpenSim.Region.ClientStack
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ProcessInPacket(Packet Pack)
|
||||
protected void ProcessInPacket(Packet Pack)
|
||||
{
|
||||
ack_pack(Pack);
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ namespace OpenSim.Region.ClientStack
|
||||
/// Handles new client connections
|
||||
/// Constructor takes a single Packet and authenticates everything
|
||||
/// </summary>
|
||||
public partial class ClientView : ClientViewBase, IClientAPI
|
||||
public partial class ClientView : IClientAPI
|
||||
{
|
||||
public static TerrainManager TerrainManager;
|
||||
|
||||
@@ -134,7 +134,7 @@ namespace OpenSim.Region.ClientStack
|
||||
this.ClientThread.Abort();
|
||||
}
|
||||
|
||||
public override void ConnectionClosed()
|
||||
public void ConnectionClosed()
|
||||
{
|
||||
clientPingTimer.Stop();
|
||||
m_clientThreads.Remove(this.CircuitCode);
|
||||
@@ -315,7 +315,7 @@ namespace OpenSim.Region.ClientStack
|
||||
# endregion
|
||||
|
||||
|
||||
protected override void KillThread()
|
||||
protected void KillThread()
|
||||
{
|
||||
this.ClientThread.Abort();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user