ACE_SSL  6.1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Protected Member Functions | List of all members
ACE_SSL_SOCK Class Reference

An abstract class that forms the basis for more specific classes, such as "ACE_SSL_SOCK_Acceptor" and "ACE_SSL_SOCK_Stream". Do not instantiate this class. More...

#include <SSL_SOCK.h>

Inheritance diagram for ACE_SSL_SOCK:
Inheritance graph
[legend]
Collaboration diagram for ACE_SSL_SOCK:
Collaboration graph
[legend]

Public Member Functions

int set_option (int level, int option, void *optval, int optlen) const
int get_option (int level, int option, void *optval, int *optlen) const
int enable (int value) const
int disable (int value) const
void set_handle (ACE_HANDLE)
ACE_HANDLE get_handle (void) const
int control (int cmd, void *arg) const
- Public Member Functions inherited from ACE_SOCK
int close (void)
int get_local_addr (ACE_Addr &) const
int get_remote_addr (ACE_Addr &) const
void dump (void) const
int open (int type, int protocol_family, int protocol, int reuse_addr)
int open (int type, int protocol_family, int protocol, ACE_Protocol_Info *protocolinfo, ACE_SOCK_GROUP g, u_long flags, int reuse_addr)

Protected Member Functions

 ACE_SSL_SOCK (void)
 ~ACE_SSL_SOCK (void)
 Destructor.
- Protected Member Functions inherited from ACE_SOCK
 ACE_SOCK (int type, int protocol_family, int protocol=0, int reuse_addr=0)
 ACE_SOCK (int type, int protocol_family, int protocol, ACE_Protocol_Info *protocolinfo, ACE_SOCK_GROUP g, u_long flags, int reuse_addr)
 ACE_SOCK (void)
 ~ACE_SOCK (void)
 ACE_IPC_SAP (void)
 ~ACE_IPC_SAP (void)

Additional Inherited Members

- Public Attributes inherited from ACE_SOCK
 ACE_ALLOC_HOOK_DECLARE

Detailed Description

An abstract class that forms the basis for more specific classes, such as "ACE_SSL_SOCK_Acceptor" and "ACE_SSL_SOCK_Stream". Do not instantiate this class.

This class provides functions that are common to all of the ACE_SSL_SOCK_* classes. ACE_SSL_SOCK provides the ability to get and set socket options, get the local and remote addresses, and close the socket.

Constructor & Destructor Documentation

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_SSL_SOCK::ACE_SSL_SOCK ( void  )
protected

Default constructor is private to prevent instances of this class from being defined.

ACE_SSL_SOCK::~ACE_SSL_SOCK ( void  )
protected

Destructor.

Not a virtual destructor. Protected destructor to prevent operator delete() from being called through a base class ACE_SSL_SOCK pointer/reference.

Member Function Documentation

ACE_INLINE int ACE_SSL_SOCK::control ( int  cmd,
void *  arg 
) const

Override ACE_SOCK base class implementations with these SSL specific ones.

Reimplemented from ACE_SOCK.

int ACE_SSL_SOCK::disable ( int  value) const

Override ACE_SOCK base class implementations with these SSL specific ones.

Reimplemented from ACE_SOCK.

int ACE_SSL_SOCK::enable ( int  value) const

Override ACE_SOCK base class implementations with these SSL specific ones.

Reimplemented from ACE_SOCK.

ACE_INLINE ACE_HANDLE ACE_SSL_SOCK::get_handle ( void  ) const

Override ACE_SOCK base class implementations with these SSL specific ones.

Reimplemented from ACE_SOCK.

ACE_INLINE int ACE_SSL_SOCK::get_option ( int  level,
int  option,
void *  optval,
int *  optlen 
) const

Override ACE_SOCK base class implementations with these SSL specific ones.

Reimplemented from ACE_SOCK.

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE void ACE_SSL_SOCK::set_handle ( ACE_HANDLE  fd)

Override ACE_SOCK base class implementations with these SSL specific ones.

Reimplemented from ACE_SOCK.

Reimplemented in ACE_SSL_SOCK_Stream.

ACE_INLINE int ACE_SSL_SOCK::set_option ( int  level,
int  option,
void *  optval,
int  optlen 
) const

Override ACE_SOCK base class implementations with these SSL specific ones.

Reimplemented from ACE_SOCK.


The documentation for this class was generated from the following files: