ACE
6.1.0
|
Class for providing a connection per thread. More...
#include <Remote_Tokens.h>
Public Member Functions | |
ACE_TSS_Connection (void) | |
~ACE_TSS_Connection (void) | |
ACE_SOCK_Stream * | get_connection (void) |
Retrieve the thread's connection. | |
virtual ACE_SOCK_Stream * | make_TSS_TYPE (void) const |
Factory Method that creates a new SOCK Stream. | |
operator ACE_SOCK_Stream * (void) | |
void | dump (void) const |
Dump the state of the class. | |
Static Public Member Functions | |
static void | set_server_address (const ACE_INET_Addr &server_address) |
Set the server address. | |
Static Protected Attributes | |
static ACE_INET_Addr | server_address_ |
Private Member Functions | |
ACE_TSS_Connection (const ACE_TSS_Connection &) | |
Private: should not be used. | |
void | operator= (const ACE_TSS_Connection &) |
Class for providing a connection per thread.
ACE_TSS_Connection provides a single access point for all threads to access thread-specific connections. This prevents resource-sharing problems such as thread serialization.
ACE_TSS_Connection::ACE_TSS_Connection | ( | void | ) |
ACE_TSS_Connection::~ACE_TSS_Connection | ( | void | ) |
ACE_TSS_Connection::ACE_TSS_Connection | ( | const ACE_TSS_Connection & | ) | [private] |
Private: should not be used.
void ACE_TSS_Connection::dump | ( | void | ) | const |
Dump the state of the class.
Reimplemented from ACE_TSS< ACE_SOCK_Stream >.
ACE_SOCK_Stream * ACE_TSS_Connection::get_connection | ( | void | ) |
Retrieve the thread's connection.
ACE_SOCK_Stream * ACE_TSS_Connection::make_TSS_TYPE | ( | void | ) | const [virtual] |
Factory Method that creates a new SOCK Stream.
Reimplemented from ACE_TSS< ACE_SOCK_Stream >.
ACE_TSS_Connection::operator ACE_SOCK_Stream * | ( | void | ) |
Inheritance and operator overloading don't mix. Redefine this from ACE_TSS so that we can use it.
void ACE_TSS_Connection::operator= | ( | const ACE_TSS_Connection & | ) | [private] |
void ACE_TSS_Connection::set_server_address | ( | const ACE_INET_Addr & | server_address | ) | [static] |
Set the server address.
ACE_INET_Addr ACE_TSS_Connection::server_address_ [static, protected] |
The address of the Token Server used by all instances of Token_Proxy.