24 #include "wxgissrv/srv_framework/framework.h"
25 #include "wxgissrv/srv_networking/networking.h"
38 virtual void *Entry();
39 virtual void OnExit();
52 public INetMessageReceiver
58 virtual bool Start(IServerApplication* pApp, wxXmlNode* pConfig);
59 virtual bool Stop(
void);
61 virtual void ProcessMessage(WXGISMSG msg, wxXmlNode* pChildNode);
63 virtual wxString GetServerName(
void);
64 virtual bool CanAcceptConnection(
void);
66 virtual void DelConnection(
long nConnID);
67 virtual void PutInMessage(WXGISMSG msg);
68 virtual void PutOutMessage(WXGISMSG msg);
69 virtual WXGISMSG GetOutMessage(
void);
70 virtual void ProcessOutMessage(WXGISMSG msg);
71 virtual void SetAuth(AUTHRESPOND sUserInfo);
72 virtual AUTHRESPOND GetAuth(
long nID);
74 virtual void ClearMessageQueue(
void);
77 IServerApplication* m_pApp;
78 std::vector<INetworkPlugin*> m_NetworkPluginArray;
79 short m_nMaxConnectoinCount;
80 long m_nConnectionCounter, m_nConnectionID;
81 wxString m_sServerName;
82 std::map<long, INetServerConnection*> m_NetworkConnectionMap;
83 typedef std::map<long, INetServerConnection*>::iterator ConnIT;
85 wxCriticalSection m_CriticalSection;
86 WXGISMSGQUEUE m_MsgQueue;
97 virtual bool Stop(
void) = 0;
The network server connection interface class.
Definition: netconn.h:26
A Server side INetworkPlugin interface.
Definition: networkplugin.h:30
A Server output message thread.
Definition: network.h:34
A Server side Network Service.
Definition: servernet.h:49