class TCPSlaveBase
|
There are two classes that specifies the protocol between application (job)
and kioslave. More... |
|
|
Public Methods
Protected Methods
Protected Members
There are two classes that specifies the protocol between application (job)
and kioslave. SlaveInterface is the class to use on the application end,
SlaveBase is the one to use on the slave end.
Slave implementations should simply inherit SlaveBase
A call to foo() results in a call to slotFoo() on the other end.
TCPSlaveBase (unsigned short int default_port, const QCString &protocol, const QCString &pool_socket, const QCString &app_socket)
| TCPSlaveBase |
~TCPSlaveBase ()
| ~TCPSlaveBase |
[virtual]
ssize_t Write (const void *data, ssize_t len)
| Write |
[protected]
ssize_t Read (void *data, ssize_t len)
| Read |
[protected]
ssize_t ReadLine (char *data, ssize_t len)
| ReadLine |
[protected]
unsigned short int GetPort (unsigned short int port)
| GetPort |
[protected]
bool ConnectToHost (const QCString &host, unsigned short int port)
| ConnectToHost |
[protected]
This does the initial TCP connection stuff and/or SSL handshaking
Parameters:
host | hostname
|
port | port number
|
Returns: on succes, true is returned.
on failure, false is returned and an appropriate error
message is send to the application.
void CloseDescriptor ()
| CloseDescriptor |
[protected]
bool InitializeSSL ()
| InitializeSSL |
[protected]
void CleanSSL ()
| CleanSSL |
[protected]
[protected]
[protected]
unsigned short int m_iDefaultPort
| m_iDefaultPort |
[protected]
unsigned short int m_iPort
| m_iPort |
[protected]
[protected]
[protected]
[protected]
TcpSlaveBasePrivate * d
| d |
[protected]
SSL_CTX * ssl_context
| ssl_context |
[protected]
[protected]
X509 * server_cert
| server_cert |
[protected]
[protected]
Generated by: faure on ftp.kde.com on Wed Jun 20 13:26:37 2001, using kdoc 2.0a53. |