Version: 0.6.0

A Server side Network Service. More...

#include <servernet.h>

Inheritance diagram for wxGISNetworkService:
Collaboration diagram for wxGISNetworkService:

Public Member Functions

 wxGISNetworkService (INetEventProcessor *pNetEvtProc)
 
virtual bool Start (void)
 
virtual bool Stop (void)
 
virtual wxString GetServerName (void) const
 
virtual bool CanConnect (const wxString &sName, const wxString &sPass)
 
virtual void AddConnection (wxGISNetServerConnection *pConn)
 
virtual bool DestroyConnection (wxGISNetServerConnection *pConn)
 
virtual void RemoveConnection (wxGISNetServerConnection *pConn)
 
bool DestroyConnections ()
 
void SendNetMessage (const wxNetMessage &msg, int nId=wxNOT_FOUND)
 
virtual void AddNetworkPlugin (const wxString &sClassName, const wxXmlNode *pConfigNode)
 
virtual bool Start (IServerApplication *pApp, wxXmlNode *pConfig)
 
virtual bool Stop (void)
 
virtual void ProcessMessage (WXGISMSG msg, wxXmlNode *pChildNode)
 
virtual wxString GetServerName (void)
 
virtual bool CanAcceptConnection (void)
 
virtual bool AddConnection (INetServerConnection *pNetServerConnection)
 
virtual void DelConnection (long nConnID)
 
virtual void PutInMessage (WXGISMSG msg)
 
virtual void PutOutMessage (WXGISMSG msg)
 
virtual WXGISMSG GetOutMessage (void)
 
virtual void ProcessOutMessage (WXGISMSG msg)
 
virtual void SetAuth (AUTHRESPOND sUserInfo)
 
virtual AUTHRESPOND GetAuth (long nID)
 

Protected Types

typedef std::map< long,
INetServerConnection * >
::iterator 
ConnIT
 

Protected Member Functions

wxGISNetServerConnectionList & GetConnections ()
 
virtual void OnGISNetEvent (wxGISNetEvent &event)
 
virtual void ClearMessageQueue (void)
 

Protected Attributes

short m_nMaxConnectoinCount
 
int m_nConnectionCounter
 
wxVector< INetPlugin * > m_paNetworkPlugins
 
wxString m_sServerName
 
wxGISNetServerConnectionList m_plNetworkConnections
 
int m_nConnectionIdCounter
 
INetEventProcessorm_pNetEvtProc
 
wxXmlNode * m_pConfig
 
IServerApplication * m_pApp
 
std::vector< INetworkPlugin * > m_NetworkPluginArray
 
long m_nConnectionCounter
 
long m_nConnectionID
 
std::map< long,
INetServerConnection * > 
m_NetworkConnectionMap
 
wxMsgOutThreadm_pMsgOutThread
 
wxCriticalSection m_CriticalSection
 
WXGISMSGQUEUE m_MsgQueue
 

Detailed Description

A Server side Network Service.

A Server side Network Service.

Library:  wxGISNet

The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/wxgis/net/servernet.h
  • /home/bishop/work/projects/nextgismanager/include/wxgissrv/srv_framework/network.h
  • /home/bishop/work/projects/nextgismanager/src/net/servernet.cpp
  • /home/bishop/work/projects/nextgismanager/src/srv_framework/network.cpp