InterViews Reference Manual -- Deputy
NAME
Deputy - pack and send remote messages
SYNOPSIS
#include <InterViews/deputy.h>
DESCRIPTION
A deputy object performs operations on remote objects. A caller performs a
local call on the deputy, which packs the parameters into a message. Deputies
place the message into a buffer managed by a
ChiefDeputy , which then take care of sending the message to the remote
space.
PUBLIC OPERATIONS
Deputy()
Deputy(ChiefDeputy*)
Construct a deputy, optionally specifying the chief deputy that will manage the
message buffer. The chief deputy is accessible through a protected member
chief.
void Sync()
Force all messages to be sent to the remote object space. Without doing a
Sync, messages are buffered locally to reduce message-passing overhead.
ObjectTag Tag()
Return a tag to use in messages to identify the remote object. Because the
client defines the tag, a deputy uses its address (this pointer) as its tag.
Connection* GetServer()
Return the connection associated with the remote object.
SEE ALSO
ChiefDeputy , ObjectSpace
Next: Dialog
| Prev: Deck
| Up: index
| Top: index