ACE_SSL 8.0.5
Loading...
Searching...
No Matches
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:
Collaboration diagram for ACE_SSL_SOCK:

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 () const
int control (int cmd, void *arg) const
Public Member Functions inherited from ACE_SOCK
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 close ()
int get_local_addr (ACE_Addr &) const
int get_remote_addr (ACE_Addr &) const
void dump () 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)
Public Member Functions inherited from ACE_IPC_SAP
int control (int cmd, void *) const
int enable (int value) const
int disable (int value) const
ACE_HANDLE get_handle () const
void set_handle (ACE_HANDLE handle)
void dump () const

Protected Member Functions

 ACE_SSL_SOCK ()
 ~ACE_SSL_SOCK ()
 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 ()
 ~ACE_SOCK ()=default
Protected Member Functions inherited from ACE_IPC_SAP
 ACE_IPC_SAP ()
 ~ACE_IPC_SAP ()

Additional Inherited Members

Public Attributes inherited from ACE_SOCK
 ACE_ALLOC_HOOK_DECLARE
Public Attributes inherited from ACE_IPC_SAP
 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_SSL_SOCK()

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_SSL_SOCK::ACE_SSL_SOCK ( )
protected

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

◆ ~ACE_SSL_SOCK()

ACE_SSL_SOCK::~ACE_SSL_SOCK ( )
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

◆ control()

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

◆ disable()

int ACE_SSL_SOCK::disable ( int value) const

◆ enable()

int ACE_SSL_SOCK::enable ( int value) const

◆ get_handle()

ACE_INLINE ACE_HANDLE ACE_SSL_SOCK::get_handle ( ) const

◆ get_option()

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

◆ set_handle()

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE void ACE_SSL_SOCK::set_handle ( ACE_HANDLE fd)

◆ set_option()

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.


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