Removed dead code

This commit is contained in:
Jerry (Xinyu Hou) 2016-08-24 17:55:19 +01:00 committed by Andrew Nelless
parent 08a73218e6
commit 07902d623c
2 changed files with 0 additions and 6 deletions

View File

@ -74,10 +74,6 @@ protected:
ArchSocket getSocket() { return m_socket; } ArchSocket getSocket() { return m_socket; }
IEventQueue* getEvents() { return m_events; } IEventQueue* getEvents() { return m_events; }
virtual bool isSecureReady() { return false; }
virtual bool isSecure() { return false; }
virtual int secureRead(void* buffer, int, int& ) { return 0; }
virtual int secureWrite(const void*, int, int& ) { return 0; }
virtual EJobResult doRead(); virtual EJobResult doRead();
virtual EJobResult doWrite(); virtual EJobResult doWrite();

View File

@ -50,11 +50,9 @@ public:
void secureAccept(); void secureAccept();
EJobResult doRead(); EJobResult doRead();
EJobResult doWrite(); EJobResult doWrite();
bool isReady() const { return m_secureReady; }
bool isFatal() const { return m_fatal; } bool isFatal() const { return m_fatal; }
void isFatal(bool b) { m_fatal = b; } void isFatal(bool b) { m_fatal = b; }
bool isSecureReady(); bool isSecureReady();
bool isSecure() { return true; }
int secureRead(void* buffer, int size, int& read); int secureRead(void* buffer, int size, int& read);
int secureWrite(const void* buffer, int size, int& wrote); int secureWrite(const void* buffer, int size, int& wrote);
void initSsl(bool server); void initSsl(bool server);