* Made ClientViewBase abstract

* Deleted unused m_consoleRegion
afrisby
lbsa71 2007-09-18 08:38:21 +00:00
parent 04e7fcd0e9
commit 26406efd55
2 changed files with 4 additions and 19 deletions

View File

@ -85,8 +85,6 @@ namespace OpenSim
private string m_assetStorage = "db4o"; private string m_assetStorage = "db4o";
private Scene m_consoleRegion = null;
public ConsoleCommand CreateAccount = null; public ConsoleCommand CreateAccount = null;
public OpenSimMain(IConfigSource configSource) public OpenSimMain(IConfigSource configSource)

View File

@ -38,7 +38,7 @@ using OpenSim.Region.Environment;
namespace OpenSim.Region.ClientStack namespace OpenSim.Region.ClientStack
{ {
public class ClientViewBase public abstract class ClientViewBase
{ {
protected BlockingQueue<QueItem> PacketQueue; protected BlockingQueue<QueItem> PacketQueue;
protected Dictionary<uint, uint> PendingAcks = new Dictionary<uint, uint>(); protected Dictionary<uint, uint> PendingAcks = new Dictionary<uint, uint>();
@ -56,15 +56,7 @@ namespace OpenSim.Region.ClientStack
protected PacketServer m_networkServer; protected PacketServer m_networkServer;
public ClientViewBase() protected abstract void ProcessInPacket(Packet Pack);
{
}
protected virtual void ProcessInPacket(Packet Pack)
{
}
protected virtual void ProcessOutPacket(Packet Pack) protected virtual void ProcessOutPacket(Packet Pack)
{ {
@ -308,14 +300,9 @@ namespace OpenSim.Region.ClientStack
} }
#endregion #endregion
protected virtual void KillThread() protected abstract void KillThread();
{
} public abstract void ConnectionClosed();
public virtual void ConnectionClosed()
{
}
#region Nested Classes #region Nested Classes