const SConnection::AccessRights SConnection::AccessFull = 0xffff;
-SConnection::SConnection(bool reverseConnection_)
+SConnection::SConnection()
: readyForSetColourMapEntries(false),
is(0), os(0), reader_(0), writer_(0),
security(0), ssecurity(0), state_(RFBSTATE_UNINITIALISED),
- reverseConnection(reverseConnection_),
preferredEncoding(encodingRaw)
{
defaultMajorVersion = 3;
class SConnection : public SMsgHandler {
public:
- SConnection(bool reverseConnection_);
+ SConnection();
virtual ~SConnection();
// Methods to initialise the connection
SecurityServer *security;
SSecurity* ssecurity;
stateEnum state_;
- bool reverseConnection;
rdr::S32 preferredEncoding;
};
}
VNCSConnectionST::VNCSConnectionST(VNCServerST* server_, network::Socket *s,
bool reverse)
- : SConnection(reverse), sock(s),
+ : sock(s), reverseConnection(reverse),
queryConnectTimer(this), inProcessMessages(false),
pendingSyncFence(false), syncFence(false), fenceFlags(0),
fenceDataLen(0), fenceData(NULL),
network::Socket* sock;
CharArray peerEndpoint;
+ bool reverseConnection;
Timer queryConnectTimer;