ACE
6.3.3
|
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. More... | |
virtual ACE_SOCK_Stream * | make_TSS_TYPE (void) const |
Factory Method that creates a new SOCK Stream. More... | |
operator ACE_SOCK_Stream * (void) | |
void | dump (void) const |
Dump the state of the class. More... | |
Public Member Functions inherited from ACE_TSS< ACE_SOCK_Stream > | |
ACE_TSS (ACE_SOCK_Stream *ts_obj=0) | |
virtual | ~ACE_TSS (void) |
ACE_SOCK_Stream * | ts_object (ACE_SOCK_Stream *new_ts_obj) |
void | dump (void) const |
Dump the state of an object. More... | |
ACE_SOCK_Stream * | ts_object (void) const |
ACE_SOCK_Stream * | operator-> () const |
operator ACE_SOCK_Stream * (void) const | |
Static Public Member Functions | |
static void | set_server_address (const ACE_INET_Addr &server_address) |
Set the server address. More... | |
Static Protected Attributes | |
static ACE_INET_Addr | server_address_ |
Private Member Functions | |
ACE_TSS_Connection (const ACE_TSS_Connection &) | |
Private: should not be used. More... | |
void | operator= (const ACE_TSS_Connection &) |
Additional Inherited Members | |
Protected Member Functions inherited from ACE_TSS< ACE_SOCK_Stream > | |
ACE_SOCK_Stream * | ts_get (void) const |
int | ts_init (void) |
Protected Attributes inherited from ACE_TSS< ACE_SOCK_Stream > | |
ACE_SOCK_Stream * | type_ |
This implementation only works for non-threading systems... More... | |
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 | ) |
|
private |
Private: should not be used.
void ACE_TSS_Connection::dump | ( | void | ) | const |
Dump the state of the class.
ACE_SOCK_Stream * ACE_TSS_Connection::get_connection | ( | void | ) |
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 * | ( | void | ) |
Inheritance and operator overloading don't mix. Redefine this from ACE_TSS so that we can use it.
|
private |
|
static |
Set the server address.
|
staticprotected |
The address of the Token Server used by all instances of Token_Proxy.