namespace Akenti class SSLServerSocket : public ServerSocket

SecureServerSocket class - derived from ServerSocket but has a SSLcontext associated with it

Inheritance:


Public Methods

SSLServerSocket (SecureSocketImpl* impl)
Constructs a SSLServerSocket from a SecureSocketImpl
SSLServerSocket (int port)
Constructs a SSLServerSocket from the Provider default SSLServerContext and default SecureSocketImpl
SSLServerSocket (const SSLContext& ctx, int port)
Constructs a SSLServerSocket from a Server SSLContext and the Provider default SecureSocketImpl
~SSLServerSocket ()
Destroys this object
SSLSocket accept ()
Does the accept - needs more explanation
const SSLContext& getSSLContext ()
Return the security context associated with this socket

Inherited from ServerSocket:

Public Methods

const string& getHost() const
int getPort() const
void bind()
void listen(int backlog)
void close()
virtual string paramString() const

Documentation

SecureServerSocket class - derived from ServerSocket but has a SSLcontext associated with it. Inherits most of its methods from ServerSocket - i.e. setting the host, setting/getting the port, connection and binding, listen and accept.
SSLServerSocket(SecureSocketImpl* impl)
Constructs a SSLServerSocket from a SecureSocketImpl.
Parameters:
SecureSocketImpl - probably created by the newInstance method of the concrete SecureSocketImpl.

SSLServerSocket(int port)
Constructs a SSLServerSocket from the Provider default SSLServerContext and default SecureSocketImpl.
Parameters:
port - to on which the socket will listen
See Also:
Provider

SSLServerSocket(const SSLContext& ctx, int port)
Constructs a SSLServerSocket from a Server SSLContext and the Provider default SecureSocketImpl.
Throws:
Error if the input SSLcontext is not a server context.
Parameters:
ctx - a server SSLContext
port - port on which the socket will listen
See Also:
Provider

~SSLServerSocket()
Destroys this object

SSLSocket accept()
Does the accept - needs more explanation.
Returns:
an new SSLSocket on which an accept has been done.

const SSLContext& getSSLContext()
Return the security context associated with this socket.
Returns:
- the SSLContext associated with this socket.


This class has no child classes.
Author:
Srilekha Mudumbai Abdelilah Essiari
Version:
1.1 00/05/01
See Also:
ServerSocket
SSLContext
SSLSocke
Provider

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de