ACE 8.0.1
|
Class for providing a connection per thread. More...
#include <Remote_Tokens.h>
Public Member Functions | |
ACE_TSS_Connection () | |
~ACE_TSS_Connection () | |
ACE_SOCK_Stream * | get_connection () |
Retrieve the thread's connection. | |
virtual ACE_SOCK_Stream * | make_TSS_TYPE () const |
Factory Method that creates a new SOCK Stream. | |
operator ACE_SOCK_Stream * () | |
void | dump () const |
Dump the state of the class. | |
![]() | |
ACE_TSS (ACE_SOCK_Stream *ts_obj=0) | |
virtual | ~ACE_TSS () |
ACE_SOCK_Stream * | ts_object (ACE_SOCK_Stream *new_ts_obj) |
ACE_SOCK_Stream * | ts_object () const |
ACE_SOCK_Stream * | operator-> () const |
operator ACE_SOCK_Stream * () const | |
void | dump () const |
Dump the state of an object. | |
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 &)=delete | |
void | operator= (const ACE_TSS_Connection &)=delete |
Additional Inherited Members | |
![]() | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
![]() | |
ACE_SOCK_Stream * | ts_get () const |
int | ts_init () |
![]() | |
ACE_SOCK_Stream * | type_ |
This implementation only works for non-threading systems... | |
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 | ( | ) |
ACE_TSS_Connection::~ACE_TSS_Connection | ( | ) |
|
privatedelete |
void ACE_TSS_Connection::dump | ( | ) | const |
Dump the state of the class.
ACE_SOCK_Stream * ACE_TSS_Connection::get_connection | ( | ) |
Retrieve the thread's connection.
|
virtual |
Factory Method that creates a new SOCK Stream.
Reimplemented from ACE_TSS< ACE_SOCK_Stream >.
ACE_TSS_Connection::operator ACE_SOCK_Stream * | ( | ) |
Inheritance and operator overloading don't mix. Redefine this from ACE_TSS so that we can use it.
|
privatedelete |
|
static |
Set the server address.
|
staticprotected |
The address of the Token Server used by all instances of Token_Proxy.