removed some duplicate hard-coded port numbers. changed ports to uint.

This commit is contained in:
Jeff Ames
2007-12-06 01:41:41 +00:00
parent d2736437d4
commit 4bde56457f
19 changed files with 43 additions and 47 deletions

View File

@@ -44,21 +44,21 @@ namespace OpenSim.Framework.Servers
protected HttpListener m_httpListener;
protected Dictionary<string, XmlRpcMethod> m_rpcHandlers = new Dictionary<string, XmlRpcMethod>();
protected Dictionary<string, IRequestHandler> m_streamHandlers = new Dictionary<string, IRequestHandler>();
protected int m_port;
protected uint m_port;
protected bool m_ssl = false;
protected bool m_firstcaps = true;
public int Port
public uint Port
{
get { return m_port; }
}
public BaseHttpServer(int port)
public BaseHttpServer(uint port)
{
m_port = port;
}
public BaseHttpServer(int port, bool ssl)
public BaseHttpServer(uint port, bool ssl)
{
m_ssl = ssl;
m_port = port;