Add override specifiers

This commit is contained in:
Daniel Seither 2019-11-19 12:04:55 +01:00
parent 937326bf4f
commit dc2d8e9661
1 changed files with 5 additions and 5 deletions

View File

@ -39,21 +39,21 @@ public:
~SecureSocket(); ~SecureSocket();
// ISocket overrides // ISocket overrides
void close(); void close() override;
// IDataSocket overrides // IDataSocket overrides
virtual void connect(const NetworkAddress&); virtual void connect(const NetworkAddress&) override;
std::unique_ptr<ISocketMultiplexerJob> newJob() override; std::unique_ptr<ISocketMultiplexerJob> newJob() override;
bool isFatal() const { return m_fatal; } bool isFatal() const override { return m_fatal; }
void isFatal(bool b) { m_fatal = b; } void isFatal(bool b) { m_fatal = b; }
bool isSecureReady(); bool isSecureReady();
void secureConnect(); void secureConnect();
void secureAccept(); void secureAccept();
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);
EJobResult doRead(); EJobResult doRead() override;
EJobResult doWrite(); EJobResult doWrite() override;
void initSsl(bool server); void initSsl(bool server);
bool loadCertificates(String& CertFile); bool loadCertificates(String& CertFile);