Version: 0.6.0
wxGISNetClientConnection Class Referenceabstract

The network connection interface class. More...

#include <netconn.h>

Inheritance diagram for wxGISNetClientConnection:
Collaboration diagram for wxGISNetClientConnection:

Public Member Functions

virtual bool HasAttributes (void) const
 
virtual wxJSONValue GetAttributes (void) const =0
 Get Properties of plugin. More...
 
virtual bool SetAttributes (const wxJSONValue &oProperties)=0
 Set Properties of plugin. More...
 
virtual wxString GetName (void) const
 
virtual wxString GetLastError (void) const
 
- Public Member Functions inherited from INetConnection
virtual bool Connect (void)
 
virtual bool Disconnect (void)
 
virtual bool IsConnected (void)
 
virtual void SendNetMessageAsync (const wxNetMessage &msg)
 
virtual wxNetMessage SendNetMessageSync (const wxNetMessage &msg)
 
virtual int GetId (void) const
 
virtual void SetId (const int nUserId)
 
- Public Member Functions inherited from wxGISConnectionPointContainer
virtual long Advise (wxEvtHandler *pEvtHandler)
 
virtual void Unadvise (long nCookie)
 

Additional Inherited Members

- Public Types inherited from INetConnection
typedef std::priority_queue
< wxNetMessage, std::deque
< wxNetMessage > > 
WXGISMSGQUEUE
 
- Protected Member Functions inherited from INetConnection
bool CreateAndRunThreads (void)
 
void DestroyThreads (void)
 
virtual bool ProcessOutputNetMessage (void)
 
virtual bool ProcessInputNetMessage (void)
 
- Protected Member Functions inherited from wxGISConnectionPointContainer
virtual void AddEvent (const wxEvent &event)
 
virtual void PostEvent (wxEvent *event)
 
- Protected Attributes inherited from INetConnection
WXGISMSGQUEUE m_aoMessages
 
int m_nUserId
 
wxCriticalSection m_dataCS
 
wxCriticalSection m_msgCS
 
bool m_bIsConnected
 
bool m_bIsConnecting
 
wxSocketBase * m_pSock
 
wxNetWriterThreadm_pOutThread
 
wxNetReaderThreadm_pInThread
 
wxVector< wxNetMessagem_oaSyncMessages
 
wxArrayLong m_laWaitIds
 
char m_Buffer [BUFF_SIZE]
 
- Protected Attributes inherited from wxGISConnectionPointContainer
wxVector< wxEvtHandler * > m_pPointsArray
 
wxCriticalSection m_CritSectEvt
 

Detailed Description

The network connection interface class.

This class describes the network connection. Used in server connection list.

Member Function Documentation

wxXmlNode * wxGISNetClientConnection::GetAttributes ( void  ) const
pure virtual

Get Properties of plugin.

Returns
The properties of the plugin

It should be the new wxXmlNode (not a copy of setted properties)

Implemented in wxClientTCPNetConnection.

void wxGISNetClientConnection::SetAttributes ( const wxJSONValue oProperties)
pure virtual

Set Properties of plugin.

Parameters
pPropThe properties of the plugin

Executed while LoadChildren (after connection class created).

Implemented in wxClientTCPNetConnection.


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