#include <Local_Tokens.h>
Inheritance diagram for ACE_TSS_TPQ_Entry:


Public Methods | |
| ACE_TSS_TPQ_Entry (const ACE_Token_Proxy *proxy, const ACE_TCHAR *client_id) | |
| These are passed to the constructor of ACE_TPQ_Entry in make_TSS_TYPE. More... | |
| virtual | ~ACE_TSS_TPQ_Entry (void) |
| Destructor. More... | |
| virtual ACE_TPQ_Entry * | make_TSS_TYPE (void) const |
| Allows us to pass args to the construction of the TSS object. More... | |
| operator ACE_TPQ_Entry * (void) | |
| Operator overloading and inheritence don't mix. More... | |
| void | dump (void) const |
| Dump the state of the class. More... | |
| ACE_TPQ_Entry * | operator-> (void) |
Private Methods | |
| ACE_TSS_TPQ_Entry (const ACE_TSS_TPQ_Entry &) | |
| Private: should not be used. More... | |
| void | operator= (const ACE_TSS_TPQ_Entry &) |
Private Attributes | |
| const ACE_Token_Proxy * | proxy_ |
| Proxy. More... | |
| const ACE_TCHAR * | client_id_ |
| Client_id. More... | |
Not a public interface.
Definition at line 207 of file Local_Tokens.h.
|
||||||||||||
|
These are passed to the constructor of ACE_TPQ_Entry in make_TSS_TYPE.
Definition at line 177 of file Local_Tokens.cpp. References ACE_TCHAR, and ACE_TRACE.
00179 : proxy_ (proxy), 00180 client_id_ (client_id) 00181 { 00182 ACE_TRACE ("ACE_TSS_TPQ_Entry::ACE_TSS_TPQ_Entry"); 00183 } |
|
|
Destructor.
|
|
|
Private: should not be used.
|
|
|
Dump the state of the class.
Reimplemented from ACE_TPQ_Entry. Definition at line 159 of file Local_Tokens.cpp. References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_LIB_TEXT, ACE_TRACE, client_id_, ACE_TPQ_Entry::dump, and LM_DEBUG. Referenced by ACE_Token_Proxy::dump.
00160 {
00161 ACE_TRACE ("ACE_TSS_TPQ_Entry::dump");
00162 ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00163 #if defined (ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS)
00164 ACE_DEBUG ((LM_DEBUG, (char *) "ACE_TSS_TPQ_Entry::dump:\n",
00165 (char *) " client_id_ = %s\n",
00166 (char *) client_id_ == 0 ? (char *) "0" : (char *) client_id_));
00167 #else /* ! defined (ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS) */
00168 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("ACE_TSS_TPQ_Entry::dump:\n")
00169 ACE_LIB_TEXT (" client_id_ = %s\n"),
00170 client_id_ == 0 ? ACE_LIB_TEXT ("0") : client_id_));
00171 #endif /* ! defined (ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS) */
00172 ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("base:\n")));
00173 ACE_TPQ_ENTRY::dump ();
00174 ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00175 }
|
|
|
Allows us to pass args to the construction of the TSS object.
Definition at line 186 of file Local_Tokens.cpp. References ACE_NEW_RETURN, and ACE_TRACE.
00187 {
00188 ACE_TRACE ("ACE_TSS_TPQ_Entry::make_TSS_TYPE");
00189 ACE_TPQ_Entry *temp;
00190
00191 ACE_NEW_RETURN (temp,
00192 ACE_TPQ_Entry (this->proxy_,
00193 this->client_id_),
00194 0);
00195 return temp;
00196 }
|
|
|
Operator overloading and inheritence don't mix.
Definition at line 198 of file Local_Tokens.cpp. References ACE_TPQ_Entry::client_id, and ACE_TPQ_Entry::proxy.
00199 {
00200 #if !defined (ACE_NO_TSS_TOKENS)
00201 return (ACE_TPQ_Entry *) (*((ACE_TSS<ACE_TPQ_Entry> *) this));
00202 #else
00203 // Not sure this is the right thing to do, but it seems to work.
00204 // The base class ALSO has a proxy_ and client_id_ members (weird?)
00205 // which don't get initialised. The following two lines make this
00206 // the same as the subclass, so that the slicing works .
00207 ACE_TPQ_ENTRY::proxy ((ACE_Token_Proxy *)(this->proxy_));
00208 ACE_TPQ_ENTRY::client_id (this->client_id_);
00209 return (ACE_TPQ_Entry *) this;;
00210 #endif /* !ACE_NO_TSS_TOKENS */
00211 }
|
|
|
Definition at line 228 of file Local_Tokens.h.
00229 {
00230 return (ACE_TPQ_Entry *) this;
00231 }
|
|
|
|
|
|
Client_id.
Reimplemented from ACE_TPQ_Entry. Definition at line 246 of file Local_Tokens.h. Referenced by dump. |
|
|
Proxy.
Reimplemented from ACE_TPQ_Entry. Definition at line 243 of file Local_Tokens.h. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002