Ignore:
Timestamp:
04/10/2008 00:22:36 (4 years ago)
Author:
chris
Message:

Remove Win32 command socket thread, as it has caused too much trouble.

Handle command socket on Win32 the same as all other platforms, removing
#ifdefs from BackupDaemon?.

Will replace this thread with regular but not excessive command socket
polling using timers in future.

Change error messages when command socket comms fail to make them clearer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/lib/server/WinNamedPipeStream.h

    r1877 r2318  
    2525public: 
    2626        WinNamedPipeStream(); 
     27        WinNamedPipeStream(HANDLE hNamedPipe); 
    2728        ~WinNamedPipeStream(); 
    2829 
    2930        // server side - create the named pipe and listen for connections 
    30         void Accept(const std::string& rName); 
     31        // use WinNamedPipeListener to do this instead. 
    3132 
    3233        // client side - connect to a waiting server 
     
    4142        virtual bool StreamDataLeft(); 
    4243        virtual bool StreamClosed(); 
    43         bool IsConnected() { return mIsConnected; } 
    44         HANDLE GetSocketHandle() { return mSocketHandle; } 
    45         HANDLE GetReadableEvent() { return mReadableEvent; } 
    4644 
    4745protected: 
     
    6361        bool mIsConnected; 
    6462 
     63public: 
    6564        static std::string sPipeNamePrefix; 
    6665}; 
Note: See TracChangeset for help on using the changeset viewer.