class Akenti::SSLServerSocket

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

Inheritance:


Public Methods

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


Documentation

SSLServerSocket 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.

o SSLServerSocket(SecureSocketImpl* impl = NULL)
Constructs a SSLServerSocket from a SecureSocketImpl.

Parameters:
SecureSocketImpl - probably created by the newInstance method of the concrete SecureSocketImpl.

o 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

o 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

o ~SSLServerSocket()
Destroys this object

oSSLSocket accept()
Does the accept - needs more explanation.

Returns:
an new SSLSocket on which an accept has been done.

oconst SSLContext& getSSLContext()
Return the security context associated with this socket.

Returns:
- the SSLContext associated with this socket.


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

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.