parent
07902d623c
commit
e0819b86cd
|
@ -128,16 +128,16 @@ void
|
||||||
SecureSocket::secureConnect()
|
SecureSocket::secureConnect()
|
||||||
{
|
{
|
||||||
setJob(new TSocketMultiplexerMethodJob<SecureSocket>(
|
setJob(new TSocketMultiplexerMethodJob<SecureSocket>(
|
||||||
this, &SecureSocket::serviceConnect,
|
this, &SecureSocket::serviceConnect,
|
||||||
getSocket(), isReadable(), isWritable()));
|
getSocket(), isReadable(), isWritable()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
SecureSocket::secureAccept()
|
SecureSocket::secureAccept()
|
||||||
{
|
{
|
||||||
setJob(new TSocketMultiplexerMethodJob<SecureSocket>(
|
setJob(new TSocketMultiplexerMethodJob<SecureSocket>(
|
||||||
this, &SecureSocket::serviceAccept,
|
this, &SecureSocket::serviceAccept,
|
||||||
getSocket(), isReadable(), isWritable()));
|
getSocket(), isReadable(), isWritable()));
|
||||||
}
|
}
|
||||||
|
|
||||||
TCPSocket::EJobResult
|
TCPSocket::EJobResult
|
||||||
|
|
|
@ -46,15 +46,15 @@ public:
|
||||||
|
|
||||||
ISocketMultiplexerJob*
|
ISocketMultiplexerJob*
|
||||||
newJob();
|
newJob();
|
||||||
void secureConnect();
|
|
||||||
void secureAccept();
|
|
||||||
EJobResult doRead();
|
|
||||||
EJobResult doWrite();
|
|
||||||
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();
|
||||||
|
void secureConnect();
|
||||||
|
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 doWrite();
|
||||||
void initSsl(bool server);
|
void initSsl(bool server);
|
||||||
bool loadCertificates(String& CertFile);
|
bool loadCertificates(String& CertFile);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue