2002-08-02 23:57:46 +04:00
|
|
|
/*
|
|
|
|
* synergy -- mouse and keyboard sharing utility
|
|
|
|
* Copyright (C) 2002 Chris Schoeneman
|
|
|
|
*
|
|
|
|
* This package is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* found in the file COPYING that should have accompanied this file.
|
|
|
|
*
|
|
|
|
* This package is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
2001-10-06 18:13:28 +04:00
|
|
|
#ifndef CSERVER_H
|
|
|
|
#define CSERVER_H
|
|
|
|
|
2002-07-10 01:22:31 +04:00
|
|
|
#include "IServer.h"
|
2002-07-14 02:00:38 +04:00
|
|
|
#include "IPrimaryScreenReceiver.h"
|
2002-06-11 02:06:45 +04:00
|
|
|
#include "CConfig.h"
|
|
|
|
#include "CClipboard.h"
|
2002-06-02 15:49:46 +04:00
|
|
|
#include "CCondVar.h"
|
2001-10-06 18:13:28 +04:00
|
|
|
#include "CMutex.h"
|
2002-05-31 22:09:43 +04:00
|
|
|
#include "CThread.h"
|
2003-03-13 01:34:07 +03:00
|
|
|
#include "CJobList.h"
|
2003-02-23 22:29:08 +03:00
|
|
|
#include "CStopwatch.h"
|
2002-06-01 23:26:11 +04:00
|
|
|
#include "stdlist.h"
|
|
|
|
#include "stdmap.h"
|
2003-03-13 01:34:07 +03:00
|
|
|
#include "stdvector.h"
|
2001-10-06 18:13:28 +04:00
|
|
|
|
2002-07-10 01:22:31 +04:00
|
|
|
class CClientProxy;
|
|
|
|
class CPrimaryClient;
|
|
|
|
class IClient;
|
|
|
|
class IDataSocket;
|
2003-09-03 02:05:47 +04:00
|
|
|
class IScreenFactory;
|
2001-10-06 18:13:28 +04:00
|
|
|
class IServerProtocol;
|
|
|
|
class ISocketFactory;
|
2002-07-30 22:31:00 +04:00
|
|
|
class IStreamFilterFactory;
|
2001-10-06 18:13:28 +04:00
|
|
|
|
2002-07-30 18:59:36 +04:00
|
|
|
//! Synergy server
|
|
|
|
/*!
|
|
|
|
This class implements the top-level server algorithms for synergy.
|
|
|
|
*/
|
2002-07-14 02:00:38 +04:00
|
|
|
class CServer : public IServer, public IPrimaryScreenReceiver {
|
2002-04-29 18:40:01 +04:00
|
|
|
public:
|
2003-03-13 01:34:07 +03:00
|
|
|
enum EStatus {
|
|
|
|
kNotRunning,
|
|
|
|
kRunning,
|
|
|
|
kServerNameUnknown,
|
|
|
|
kError,
|
|
|
|
kMaxStatus
|
|
|
|
};
|
|
|
|
|
2002-07-30 18:59:36 +04:00
|
|
|
/*!
|
|
|
|
The server will look itself up in the configuration using \c serverName
|
|
|
|
as its name.
|
|
|
|
*/
|
2002-06-09 21:59:32 +04:00
|
|
|
CServer(const CString& serverName);
|
2001-10-06 18:13:28 +04:00
|
|
|
~CServer();
|
|
|
|
|
2002-07-30 18:59:36 +04:00
|
|
|
//! @name manipulators
|
|
|
|
//@{
|
2001-10-06 18:13:28 +04:00
|
|
|
|
2002-07-30 18:59:36 +04:00
|
|
|
//! Open server
|
|
|
|
/*!
|
2002-07-31 16:39:34 +04:00
|
|
|
Open the server. Throws XScreenUnavailable if the server's
|
|
|
|
screen cannot be opened but might be available after some time.
|
|
|
|
Otherwise throws some other exception if the server's screen or
|
|
|
|
the server cannot be opened and retrying won't help.
|
2002-07-30 18:59:36 +04:00
|
|
|
*/
|
2002-07-31 16:39:34 +04:00
|
|
|
void open();
|
2002-06-21 21:55:47 +04:00
|
|
|
|
2002-07-30 18:59:36 +04:00
|
|
|
//! Server main loop
|
|
|
|
/*!
|
2002-07-30 19:17:44 +04:00
|
|
|
Run server's event loop and return when exitMainLoop() is called.
|
2002-07-30 18:59:36 +04:00
|
|
|
This must be called between a successful open() and close().
|
|
|
|
|
|
|
|
(cancellation point)
|
|
|
|
*/
|
2002-07-30 19:17:44 +04:00
|
|
|
void mainLoop();
|
2001-10-06 18:13:28 +04:00
|
|
|
|
2002-07-30 18:59:36 +04:00
|
|
|
//! Exit event loop
|
|
|
|
/*!
|
2002-07-30 19:17:44 +04:00
|
|
|
Force mainLoop() to return. This call can return before
|
|
|
|
mainLoop() does (i.e. asynchronously). This may only be
|
2002-07-30 18:59:36 +04:00
|
|
|
called between a successful open() and close().
|
|
|
|
*/
|
2002-07-30 19:17:44 +04:00
|
|
|
void exitMainLoop();
|
2001-11-19 03:33:36 +03:00
|
|
|
|
2002-07-30 18:59:36 +04:00
|
|
|
//! Close server
|
|
|
|
/*!
|
|
|
|
Close the server.
|
|
|
|
*/
|
2002-07-14 02:00:38 +04:00
|
|
|
void close();
|
|
|
|
|
2002-07-30 18:59:36 +04:00
|
|
|
//! Set configuration
|
|
|
|
/*!
|
|
|
|
Change the server's configuration. Returns true iff the new
|
|
|
|
configuration was accepted (it must include the server's name).
|
|
|
|
This will disconnect any clients no longer in the configuration.
|
|
|
|
*/
|
2002-05-31 22:09:43 +04:00
|
|
|
bool setConfig(const CConfig&);
|
2001-10-06 18:13:28 +04:00
|
|
|
|
2003-09-03 02:05:47 +04:00
|
|
|
//! Set screen factory
|
2002-07-30 22:31:00 +04:00
|
|
|
/*!
|
2003-09-03 02:05:47 +04:00
|
|
|
Sets the factory for creating screens. This must be set before
|
|
|
|
calling open(). This object takes ownership of the factory.
|
2002-07-30 22:31:00 +04:00
|
|
|
*/
|
2003-09-03 02:05:47 +04:00
|
|
|
void setScreenFactory(IScreenFactory*);
|
2002-07-30 22:31:00 +04:00
|
|
|
|
|
|
|
//! Set socket factory
|
|
|
|
/*!
|
|
|
|
Sets the factory used to create a socket to connect to the server.
|
|
|
|
This must be set before calling mainLoop(). This object takes
|
|
|
|
ownership of the factory.
|
|
|
|
*/
|
|
|
|
void setSocketFactory(ISocketFactory*);
|
|
|
|
|
|
|
|
//! Set stream filter factory
|
|
|
|
/*!
|
|
|
|
Sets the factory used to filter the socket streams used to
|
|
|
|
communicate with the server. This object takes ownership
|
|
|
|
of the factory.
|
|
|
|
*/
|
|
|
|
void setStreamFilterFactory(IStreamFilterFactory*);
|
|
|
|
|
2003-03-13 01:34:07 +03:00
|
|
|
//! Add a job to notify of status changes
|
|
|
|
/*!
|
|
|
|
The added job is run whenever the server's status changes in
|
|
|
|
certain externally visible ways. The client keeps ownership
|
|
|
|
of the job.
|
|
|
|
*/
|
|
|
|
void addStatusJob(IJob*);
|
|
|
|
|
|
|
|
//! Remove a job to notify of status changes
|
|
|
|
/*!
|
|
|
|
Removes a previously added status notification job. A job can
|
|
|
|
remove itself when called but must not remove any other jobs.
|
|
|
|
The client keeps ownership of the job.
|
|
|
|
*/
|
|
|
|
void removeStatusJob(IJob*);
|
|
|
|
|
2002-07-30 18:59:36 +04:00
|
|
|
//@}
|
|
|
|
//! @name accessors
|
|
|
|
//@{
|
2001-10-06 18:13:28 +04:00
|
|
|
|
2002-07-30 18:59:36 +04:00
|
|
|
//! Get configuration
|
|
|
|
/*!
|
|
|
|
Returns the current configuration.
|
|
|
|
*/
|
2002-05-31 18:43:23 +04:00
|
|
|
void getConfig(CConfig*) const;
|
2001-10-06 18:13:28 +04:00
|
|
|
|
2004-02-02 00:09:22 +03:00
|
|
|
//! Get canonical screen name
|
|
|
|
/*!
|
|
|
|
Returns the canonical version of a screen name.
|
|
|
|
*/
|
|
|
|
CString getCanonicalName(const CString& name) const;
|
|
|
|
|
2002-07-30 18:59:36 +04:00
|
|
|
//! Get name
|
|
|
|
/*!
|
|
|
|
Returns the server's name passed to the c'tor
|
|
|
|
*/
|
2002-05-30 20:13:16 +04:00
|
|
|
CString getPrimaryScreenName() const;
|
|
|
|
|
2003-03-13 01:34:07 +03:00
|
|
|
//! Get number of connected clients
|
|
|
|
/*!
|
|
|
|
Returns the number of connected clients, including the server itself.
|
|
|
|
*/
|
|
|
|
UInt32 getNumClients() const;
|
|
|
|
|
|
|
|
//! Get the list of connected clients
|
|
|
|
/*!
|
|
|
|
Set the \c list to the names of the currently connected clients.
|
|
|
|
*/
|
|
|
|
void getClients(std::vector<CString>& list) const;
|
|
|
|
|
|
|
|
//! Get the status
|
|
|
|
/*!
|
|
|
|
Returns the current status and status message.
|
|
|
|
*/
|
|
|
|
EStatus getStatus(CString* = NULL) const;
|
|
|
|
|
2002-07-30 18:59:36 +04:00
|
|
|
//@}
|
|
|
|
|
2002-07-14 02:00:38 +04:00
|
|
|
// IServer overrides
|
2002-07-16 20:52:26 +04:00
|
|
|
virtual void onError();
|
2002-07-14 02:00:38 +04:00
|
|
|
virtual void onInfoChanged(const CString&, const CClientInfo&);
|
|
|
|
virtual bool onGrabClipboard(const CString&, ClipboardID, UInt32);
|
|
|
|
virtual void onClipboardChanged(ClipboardID, UInt32, const CString&);
|
|
|
|
|
2002-07-11 01:22:28 +04:00
|
|
|
// IPrimaryScreenReceiver overrides
|
2002-07-14 02:00:38 +04:00
|
|
|
virtual void onScreensaver(bool activated);
|
2003-02-23 00:53:25 +03:00
|
|
|
virtual void onOneShotTimerExpired(UInt32 id);
|
2003-04-27 21:01:14 +04:00
|
|
|
virtual void onKeyDown(KeyID, KeyModifierMask, KeyButton);
|
|
|
|
virtual void onKeyUp(KeyID, KeyModifierMask, KeyButton);
|
|
|
|
virtual void onKeyRepeat(KeyID, KeyModifierMask,
|
|
|
|
SInt32 count, KeyButton);
|
2002-07-10 01:22:31 +04:00
|
|
|
virtual void onMouseDown(ButtonID);
|
|
|
|
virtual void onMouseUp(ButtonID);
|
|
|
|
virtual bool onMouseMovePrimary(SInt32 x, SInt32 y);
|
|
|
|
virtual void onMouseMoveSecondary(SInt32 dx, SInt32 dy);
|
|
|
|
virtual void onMouseWheel(SInt32 delta);
|
2002-07-11 01:22:28 +04:00
|
|
|
|
2002-04-29 18:40:01 +04:00
|
|
|
protected:
|
2002-07-30 18:59:36 +04:00
|
|
|
//! Handle special keys
|
|
|
|
/*!
|
|
|
|
Handles keys with special meaning.
|
|
|
|
*/
|
2001-10-06 18:13:28 +04:00
|
|
|
bool onCommandKey(KeyID, KeyModifierMask, bool down);
|
|
|
|
|
2002-10-18 01:37:31 +04:00
|
|
|
//! Exit event loop and note an error condition
|
|
|
|
/*!
|
|
|
|
Force mainLoop() to return by throwing an exception. This call
|
|
|
|
can return before mainLoop() does (i.e. asynchronously). This
|
|
|
|
may only be called between a successful open() and close().
|
|
|
|
*/
|
|
|
|
void exitMainLoopWithError();
|
|
|
|
|
2002-04-29 18:40:01 +04:00
|
|
|
private:
|
2002-07-10 01:22:31 +04:00
|
|
|
typedef std::list<CThread> CThreadList;
|
2001-10-06 18:13:28 +04:00
|
|
|
|
2003-03-13 01:34:07 +03:00
|
|
|
// notify status jobs of a change
|
|
|
|
void runStatusJobs() const;
|
|
|
|
|
|
|
|
// set new status
|
|
|
|
void setStatus(EStatus, const char* msg = NULL);
|
|
|
|
|
2002-07-11 17:13:37 +04:00
|
|
|
// get the sides of the primary screen that have neighbors
|
|
|
|
UInt32 getActivePrimarySides() const;
|
|
|
|
|
2002-06-01 14:52:02 +04:00
|
|
|
// handle mouse motion
|
|
|
|
bool onMouseMovePrimaryNoLock(SInt32 x, SInt32 y);
|
|
|
|
void onMouseMoveSecondaryNoLock(SInt32 dx, SInt32 dy);
|
|
|
|
|
2002-07-10 01:22:31 +04:00
|
|
|
// set the clipboard
|
|
|
|
void onClipboardChangedNoLock(ClipboardID,
|
|
|
|
UInt32 seqNum, const CString& data);
|
|
|
|
|
2002-06-01 14:52:02 +04:00
|
|
|
// returns true iff mouse should be locked to the current screen
|
|
|
|
bool isLockedToScreenNoLock() const;
|
|
|
|
|
2001-10-06 18:13:28 +04:00
|
|
|
// change the active screen
|
2002-07-10 01:22:31 +04:00
|
|
|
void switchScreen(IClient*,
|
2002-06-24 03:24:22 +04:00
|
|
|
SInt32 x, SInt32 y, bool forScreenSaver);
|
2001-10-06 18:13:28 +04:00
|
|
|
|
|
|
|
// lookup neighboring screen
|
2002-07-15 19:01:36 +04:00
|
|
|
IClient* getNeighbor(IClient*, EDirection) const;
|
2001-10-06 18:13:28 +04:00
|
|
|
|
|
|
|
// lookup neighboring screen. given a position relative to the
|
|
|
|
// source screen, find the screen we should move onto and where.
|
|
|
|
// if the position is sufficiently far from the source then we
|
2002-06-19 21:03:29 +04:00
|
|
|
// cross multiple screens. if there is no suitable screen then
|
|
|
|
// return NULL and x,y are not modified.
|
2002-07-15 19:01:36 +04:00
|
|
|
IClient* getNeighbor(IClient*, EDirection,
|
2002-06-11 02:06:45 +04:00
|
|
|
SInt32& x, SInt32& y) const;
|
2001-10-06 18:13:28 +04:00
|
|
|
|
2003-02-23 22:29:08 +03:00
|
|
|
// test if a switch is permitted. this includes testing user
|
|
|
|
// options like switch delay and tracking any state required to
|
|
|
|
// implement them. returns true iff a switch is permitted.
|
|
|
|
bool isSwitchOkay(IClient* dst, EDirection,
|
|
|
|
SInt32 x, SInt32 y);
|
|
|
|
|
|
|
|
// update switch state due to a mouse move that doesn't try to
|
|
|
|
// switch screens.
|
2003-05-21 23:38:11 +04:00
|
|
|
void onNoSwitch(bool inTapZone);
|
2003-02-23 22:29:08 +03:00
|
|
|
|
2003-02-23 00:53:25 +03:00
|
|
|
// reset switch wait state
|
2003-02-23 22:29:08 +03:00
|
|
|
void clearSwitchState();
|
2003-02-23 00:53:25 +03:00
|
|
|
|
2002-12-23 16:55:21 +03:00
|
|
|
// send screen options to \c client
|
|
|
|
void sendOptions(IClient* client) const;
|
|
|
|
|
2001-10-06 18:13:28 +04:00
|
|
|
// open/close the primary screen
|
|
|
|
void openPrimaryScreen();
|
2001-10-14 20:58:01 +04:00
|
|
|
void closePrimaryScreen();
|
2001-10-06 18:13:28 +04:00
|
|
|
|
2002-04-29 17:31:44 +04:00
|
|
|
// update the clipboard if owned by the primary screen
|
|
|
|
void updatePrimaryClipboard(ClipboardID);
|
|
|
|
|
2002-07-10 01:22:31 +04:00
|
|
|
// close all clients that are *not* in config, not including the
|
|
|
|
// primary client.
|
|
|
|
void closeClients(const CConfig& config);
|
|
|
|
|
2002-06-21 19:18:01 +04:00
|
|
|
// start a thread, adding it to the list of threads
|
2002-07-18 21:00:48 +04:00
|
|
|
CThread startThread(IJob* adopted);
|
2002-06-21 19:18:01 +04:00
|
|
|
|
|
|
|
// cancel running threads, waiting at most timeout seconds for
|
|
|
|
// them to finish.
|
|
|
|
void stopThreads(double timeout = -1.0);
|
|
|
|
|
|
|
|
// reap threads, clearing finished threads from the thread list.
|
|
|
|
// doReapThreads does the work on the given thread list.
|
|
|
|
void reapThreads();
|
|
|
|
void doReapThreads(CThreadList&);
|
2001-10-06 18:13:28 +04:00
|
|
|
|
|
|
|
// thread method to accept incoming client connections
|
|
|
|
void acceptClients(void*);
|
|
|
|
|
2002-07-10 01:22:31 +04:00
|
|
|
// thread method to do client interaction
|
|
|
|
void runClient(void*);
|
|
|
|
CClientProxy* handshakeClient(IDataSocket*);
|
2001-10-06 18:13:28 +04:00
|
|
|
|
|
|
|
// connection list maintenance
|
2002-07-10 01:22:31 +04:00
|
|
|
void addConnection(IClient*);
|
2001-10-06 18:13:28 +04:00
|
|
|
void removeConnection(const CString& name);
|
|
|
|
|
2002-04-29 18:40:01 +04:00
|
|
|
private:
|
2002-10-18 01:37:31 +04:00
|
|
|
class XServerRethrow : public XBase {
|
|
|
|
protected:
|
|
|
|
// XBase overrides
|
|
|
|
virtual CString getWhat() const throw();
|
|
|
|
};
|
|
|
|
|
2002-04-29 17:31:44 +04:00
|
|
|
class CClipboardInfo {
|
2002-04-27 18:19:53 +04:00
|
|
|
public:
|
2002-04-29 17:31:44 +04:00
|
|
|
CClipboardInfo();
|
2002-04-27 18:19:53 +04:00
|
|
|
|
|
|
|
public:
|
|
|
|
CClipboard m_clipboard;
|
|
|
|
CString m_clipboardData;
|
|
|
|
CString m_clipboardOwner;
|
|
|
|
UInt32 m_clipboardSeqNum;
|
|
|
|
};
|
2001-10-06 18:13:28 +04:00
|
|
|
|
|
|
|
CMutex m_mutex;
|
|
|
|
|
2002-06-22 23:20:21 +04:00
|
|
|
// the name of the primary screen
|
2002-06-09 21:59:32 +04:00
|
|
|
CString m_name;
|
|
|
|
|
2002-10-18 01:37:31 +04:00
|
|
|
// true if we should exit the main loop by throwing an exception.
|
|
|
|
// this is used to propagate an exception from one of our threads
|
|
|
|
// to the mainLoop() thread. but, since we can't make a copy of
|
|
|
|
// the original exception, we return an arbitrary, unique
|
|
|
|
// exception type. the caller of mainLoop() cannot catch this
|
|
|
|
// exception except through XBase or ....
|
|
|
|
bool m_error;
|
|
|
|
|
2002-07-10 01:22:31 +04:00
|
|
|
// how long to wait to bind our socket until we give up
|
2001-10-06 18:13:28 +04:00
|
|
|
double m_bindTimeout;
|
|
|
|
|
2002-07-30 22:31:00 +04:00
|
|
|
// factories
|
2003-09-03 02:05:47 +04:00
|
|
|
IScreenFactory* m_screenFactory;
|
|
|
|
ISocketFactory* m_socketFactory;
|
2002-07-30 22:31:00 +04:00
|
|
|
IStreamFilterFactory* m_streamFilterFactory;
|
2001-10-06 18:13:28 +04:00
|
|
|
|
2002-06-22 23:20:21 +04:00
|
|
|
// running threads
|
2002-06-21 19:18:01 +04:00
|
|
|
CThreadList m_threads;
|
2002-07-18 21:00:48 +04:00
|
|
|
CThread* m_acceptClientThread;
|
2001-10-06 18:13:28 +04:00
|
|
|
|
2002-06-22 23:20:21 +04:00
|
|
|
// the screens
|
2002-07-10 01:22:31 +04:00
|
|
|
typedef std::map<CString, IClient*> CClientList;
|
|
|
|
typedef std::map<CString, CThread> CClientThreadList;
|
|
|
|
|
|
|
|
// all clients indexed by name
|
|
|
|
CClientList m_clients;
|
|
|
|
|
|
|
|
// run thread of all secondary screen clients. does not include the
|
|
|
|
// primary screen's run thread.
|
|
|
|
CClientThreadList m_clientThreads;
|
|
|
|
|
|
|
|
// the primary screen client
|
|
|
|
CPrimaryClient* m_primaryClient;
|
|
|
|
|
|
|
|
// the client with focus
|
|
|
|
IClient* m_active;
|
2001-10-06 18:13:28 +04:00
|
|
|
|
2002-04-29 17:31:44 +04:00
|
|
|
// the sequence number of enter messages
|
|
|
|
UInt32 m_seqNum;
|
|
|
|
|
2002-05-24 21:54:28 +04:00
|
|
|
// current mouse position (in absolute secondary screen coordinates)
|
2001-10-06 18:13:28 +04:00
|
|
|
SInt32 m_x, m_y;
|
|
|
|
|
2002-06-22 23:20:21 +04:00
|
|
|
// current configuration
|
2002-05-31 18:43:23 +04:00
|
|
|
CConfig m_config;
|
2001-11-25 21:32:41 +03:00
|
|
|
|
2002-06-22 23:20:21 +04:00
|
|
|
// clipboard cache
|
2002-04-29 17:31:44 +04:00
|
|
|
CClipboardInfo m_clipboards[kClipboardEnd];
|
2002-05-30 20:13:16 +04:00
|
|
|
|
2002-06-22 23:20:21 +04:00
|
|
|
// state saved when screen saver activates
|
2002-07-10 01:22:31 +04:00
|
|
|
IClient* m_activeSaver;
|
2002-06-22 23:20:21 +04:00
|
|
|
SInt32 m_xSaver, m_ySaver;
|
|
|
|
|
2003-02-23 22:29:08 +03:00
|
|
|
// common state for screen switch tests. all tests are always
|
|
|
|
// trying to reach the same screen in the same direction.
|
|
|
|
EDirection m_switchDir;
|
|
|
|
IClient* m_switchScreen;
|
|
|
|
|
|
|
|
// state for delayed screen switching
|
2003-02-23 00:53:25 +03:00
|
|
|
double m_switchWaitDelay;
|
|
|
|
UInt32 m_switchWaitTimer;
|
2003-02-23 22:29:08 +03:00
|
|
|
bool m_switchWaitEngaged;
|
2003-02-23 00:53:25 +03:00
|
|
|
SInt32 m_switchWaitX, m_switchWaitY;
|
2003-02-23 22:29:08 +03:00
|
|
|
|
|
|
|
// state for double-tap screen switching
|
|
|
|
double m_switchTwoTapDelay;
|
|
|
|
CStopwatch m_switchTwoTapTimer;
|
|
|
|
bool m_switchTwoTapEngaged;
|
|
|
|
bool m_switchTwoTapArmed;
|
2003-05-21 23:38:11 +04:00
|
|
|
SInt32 m_switchTwoTapZone;
|
2003-03-13 01:34:07 +03:00
|
|
|
|
|
|
|
// the status change jobs and status
|
|
|
|
CJobList m_statusJobs;
|
|
|
|
EStatus m_status;
|
|
|
|
CString m_statusMessage;
|
2004-02-02 00:09:22 +03:00
|
|
|
|
|
|
|
//---
|
|
|
|
/*
|
|
|
|
IListenSocket* m_listen;
|
|
|
|
|
|
|
|
typedef std::map<CProvisionalClient*,
|
|
|
|
CEventQueueTimer*> CProvisionalClients;
|
|
|
|
CProvisionalClients m_provisional;
|
|
|
|
*/
|
2001-10-06 18:13:28 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|