|
| ACE_Remote_WLock () |
|
| ACE_Remote_WLock (const ACE_TCHAR *token_name, int ignore_deadlock=0, int debug=0) |
|
| ACE_Remote_WLock (const ACE_Remote_WLock &mutex) |
|
void | dump () const |
| Dump the state of the class.
|
|
virtual int | type () const |
| Returns ACE_RW_Token::WLOCK;.
|
|
virtual ACE_Token_Proxy * | clone () const |
| Return deep copy.
|
|
| ACE_Remote_Token_Proxy () |
| Null construction.
|
|
virtual | ~ACE_Remote_Token_Proxy () |
| Death.
|
|
int | open (const ACE_TCHAR *name, int ignore_deadlock=0, int debug=0) |
|
int | initiate_connection () |
|
virtual int | acquire (int notify=0, void(*sleep_hook)(void *)=0, ACE_Synch_Options &options=ACE_Synch_Options::synch) |
|
virtual int | tryacquire (void(*sleep_hook)(void *)=0) |
|
virtual int | renew (int requeue_position=0, ACE_Synch_Options &options=ACE_Synch_Options::synch) |
|
virtual int | release (ACE_Synch_Options &options=ACE_Synch_Options::synch) |
|
virtual int | remove (ACE_Synch_Options &options=ACE_Synch_Options::synch) |
|
virtual void | token_acquired (ACE_TPQ_Entry *) |
| Override the default to do nothing.
|
|
virtual const ACE_TCHAR * | owner_id () |
| The client id of the current token holder.
|
|
void | dump () const |
| Dump the state of the class.
|
|
| ACE_Token_Proxy () |
| Construction.
|
|
virtual | ~ACE_Token_Proxy () |
| Destructor.
|
|
virtual int | acquire_read (int notify=0, void(*sleep_hook)(void *)=0, ACE_Synch_Options &options=ACE_Synch_Options::defaults) |
|
virtual int | acquire_write (int notify=0, void(*sleep_hook)(void *)=0, ACE_Synch_Options &options=ACE_Synch_Options::defaults) |
|
virtual int | tryacquire_read (void(*sleep_hook)(void *)=0) |
|
virtual int | tryacquire_write (void(*sleep_hook)(void *)=0) |
|
virtual const ACE_TCHAR * | client_id () const |
|
virtual void | client_id (const ACE_TCHAR *client_id) |
|
virtual const ACE_TCHAR * | name () const |
|
virtual void | sleep_hook () |
|
void | dump () const |
| Dump the state of the class.
|
|
Proxy for acquiring, renewing, and releasing a distributed writers lock.
Shields applications from details of interacting with the ACE_Token_Server. The token_name_ is just the string that the Token Server uses to identify the token. The client_id_ (also used by the Token Server,) identifies the owner of the token and is used for deadlock detection.