VOS::RemoteSiteExtension Class Reference
[libvos]
#include <vos/vos/remotesite.hh>
Inheritance diagram for VOS::RemoteSiteExtension:

Detailed Description
Used to extend a remote site so that createVobject(), setPeerIdentity() and renameVobject() send network requests to the actual site.
Definition at line 18 of file remotesite.hh.
Public Member Functions
- RemoteSiteExtension ()
- virtual void siteExtensionAttachedTo (Site *st)
- virtual VUtil::vRef< VobjectBase > pre_createVobject (VobjectState &state, Vobject *requester, const char *name, const std::deque< std::string > &typelist)
- virtual void post_setPeerIdentity (VUtil::vRef< Identity > peerIdentity)
- virtual bool pre_renameVobject (VobjectState &state, Vobject *requester, const std::string &oldname, const std::string &newname)
- void currentIdentityUpdateHandler (Message *m)
- void renameObjectUpdateHandler (Message *m)
- virtual VUtil::vRef< VobjectBase > getBase ()
- void setAntiSpoofID (const std::string &s)
- const std::string & getAntiSpoofID ()
- void setClientOnlyMode (const std::string &localURL, const std::string &clientModeHP)
- virtual std::list< VUtil::vRef<
MessageBlock > > readQueuedMessages (bool block)=0 - virtual bool isConnected ()=0
Protected Attributes
- bool clientMode
- std::string localURL
- std::string clientModeHP
Constructor & Destructor Documentation
| VOS::RemoteSiteExtension::RemoteSiteExtension | ( | ) |
Member Function Documentation
| void VOS::RemoteSiteExtension::currentIdentityUpdateHandler | ( | Message * | m | ) |
| const std::string& VOS::RemoteSiteExtension::getAntiSpoofID | ( | ) | [inline] |
- Returns:
- the anti-spoof ID was received from this remote site.
Definition at line 55 of file remotesite.hh.
| virtual VUtil::vRef<VobjectBase> VOS::RemoteSiteExtension::getBase | ( | ) | [inline, virtual] |
Definition at line 46 of file remotesite.hh.
| virtual bool VOS::RemoteSiteExtension::isConnected | ( | ) | [pure virtual] |
Implemented in VOS::RemoteSocketSiteExtension, and VOS::RemoteVipSiteExtension.
| virtual void VOS::RemoteSiteExtension::post_setPeerIdentity | ( | VUtil::vRef< Identity > | peerIdentity | ) | [virtual] |
Reimplemented from VOS::SiteExtension.
| virtual VUtil::vRef<VobjectBase> VOS::RemoteSiteExtension::pre_createVobject | ( | VobjectState & | state, | |
| Vobject * | requester, | |||
| const char * | name, | |||
| const std::deque< std::string > & | typelist | |||
| ) | [virtual] |
Reimplemented from VOS::SiteExtension.
| virtual bool VOS::RemoteSiteExtension::pre_renameVobject | ( | VobjectState & | state, | |
| Vobject * | requester, | |||
| const std::string & | oldname, | |||
| const std::string & | newname | |||
| ) | [virtual] |
Reimplemented from VOS::SiteExtension.
| virtual std::list< VUtil::vRef<MessageBlock> > VOS::RemoteSiteExtension::readQueuedMessages | ( | bool | block | ) | [pure virtual] |
Reads and parses any messages pending on the socket.
- Returns:
- a list of messages/message blocks
Implemented in VOS::RemoteSocketSiteExtension, and VOS::RemoteVipSiteExtension.
| void VOS::RemoteSiteExtension::renameObjectUpdateHandler | ( | Message * | m | ) |
| void VOS::RemoteSiteExtension::setAntiSpoofID | ( | const std::string & | s | ) | [inline] |
- Parameters:
-
s the anti-spoof ID that was received from this remote site during handshaking
Definition at line 52 of file remotesite.hh.
| void VOS::RemoteSiteExtension::setClientOnlyMode | ( | const std::string & | localURL, | |
| const std::string & | clientModeHP | |||
| ) |
| virtual void VOS::RemoteSiteExtension::siteExtensionAttachedTo | ( | Site * | st | ) | [virtual] |
Reimplemented from VOS::SiteExtension.
Reimplemented in VOS::RemoteSocketSiteExtension, and VOS::RemoteVipSiteExtension.
Member Data Documentation
bool VOS::RemoteSiteExtension::clientMode [protected] |
Definition at line 25 of file remotesite.hh.
std::string VOS::RemoteSiteExtension::clientModeHP [protected] |
Definition at line 27 of file remotesite.hh.
std::string VOS::RemoteSiteExtension::localURL [protected] |
Definition at line 26 of file remotesite.hh.
The documentation for this class was generated from the following file:
- /home/tetron/hack/vos/libs/vos/vos/remotesite.hh