23 #include "wxgis/net/network.h"
25 #include "wx/socket.h"
26 #include "wx/xml/xml.h"
46 virtual void SetNetworkService(
INetService* pNetService);
47 virtual void SetSocket(wxSocketBase* sock);
48 virtual bool Destroy(
void);
55 virtual void OnSocketEvent(wxSocketEvent& event);
56 virtual void OnTimer( wxTimerEvent & event);
58 virtual bool ProcessInputNetMessage(
void);
74 virtual bool Start(
void) = 0;
75 virtual bool Stop(
void) = 0;
76 virtual wxString GetServerName(
void)
const = 0;
77 virtual bool CanConnect(
const wxString &sName,
const wxString &sPass) = 0;
94 virtual bool HasAttributes(
void)
const;
109 virtual bool SetAttributes(
const wxJSONValue& oProperties) = 0;
111 virtual wxString GetName(
void)
const;
112 virtual wxString GetLastError(
void)
const;
The JSON value class implementation.
Definition: jsonval.h:91
The network connection interface class.
Definition: netconn.h:88
The network server connection interface class.
Definition: netconn.h:33
The network service base interface class.
Definition: netconn.h:70