VOS::LocalSiteExtension Class Reference
#include <localsite.hh>
Inheritance diagram for VOS::LocalSiteExtension:

Detailed Description
Definition at line 29 of file localsite.hh.
Public Member Functions
- LocalSiteExtension ()
- virtual ~LocalSiteExtension ()
- void setAntiSpoofIDMapping (const std::string &recv, const std::string &sent)
- const std::string & getAntiSpoofIDMapping (const std::string &recv)
- void spoofCheckHandler (Message *m)
- void errorMsgHandler (Message *m)
- virtual void siteExtensionAttachedTo (Site *st)
- VUtil::vRef< Site > getSite () const
- void setClientOnlyMode (bool com)
- bool getClientOnlyMode ()
- virtual void addRemoteSite (VOS::RemoteSiteExtension *rs)=0
- virtual void removeRemoteSite (VOS::RemoteSiteExtension *rs)=0
Protected Attributes
Constructor & Destructor Documentation
| VOS::LocalSiteExtension::LocalSiteExtension | ( | ) |
| virtual VOS::LocalSiteExtension::~LocalSiteExtension | ( | ) | [inline, virtual] |
Definition at line 43 of file localsite.hh.
Member Function Documentation
| virtual void VOS::LocalSiteExtension::addRemoteSite | ( | VOS::RemoteSiteExtension * | rs | ) | [pure virtual] |
Add a remote site that we're peered with.
- Parameters:
-
rs the RemoteSocketSiteExtension object representing the connection to the remote site
Implemented in VOS::LocalSocketSiteExtension, and VOS::LocalVipSiteExtension.
| void VOS::LocalSiteExtension::errorMsgHandler | ( | Message * | m | ) |
Handler for core:error messages.
| const std::string& VOS::LocalSiteExtension::getAntiSpoofIDMapping | ( | const std::string & | recv | ) |
- Returns:
- the mapping from the received anti-spoof ID to the one that was sent to that site.
- Parameters:
-
recv the anti-spoof ID received from a remote site
| bool VOS::LocalSiteExtension::getClientOnlyMode | ( | ) | [inline] |
Get client-only mode.
- Bug:
- client-only mode currently doesn't do anything. This might be removed in the future.
Definition at line 79 of file localsite.hh.
| VUtil::vRef<Site> VOS::LocalSiteExtension::getSite | ( | ) | const [inline] |
| virtual void VOS::LocalSiteExtension::removeRemoteSite | ( | VOS::RemoteSiteExtension * | rs | ) | [pure virtual] |
Remove a remote site that we're peered with.
- Parameters:
-
rs the RemoteSocketSiteExtension object representing the connection to the remote site
Implemented in VOS::LocalSocketSiteExtension, and VOS::LocalVipSiteExtension.
| void VOS::LocalSiteExtension::setAntiSpoofIDMapping | ( | const std::string & | recv, | |
| const std::string & | sent | |||
| ) |
Sets the mapping from a received anti-spoof ID to the one that was sent to that site.
- Parameters:
-
recv the anti-spoof ID received from a remote site sent the anti-spoof ID sent to a remote site
| void VOS::LocalSiteExtension::setClientOnlyMode | ( | bool | com | ) | [inline] |
Set client-only mode.
- Bug:
- client-only mode currently doesn't do anything. This might be removed in the future.
Definition at line 73 of file localsite.hh.
| virtual void VOS::LocalSiteExtension::siteExtensionAttachedTo | ( | Site * | st | ) | [virtual] |
Reimplemented from VOS::SiteExtension.
Reimplemented in VOS::LocalSocketSiteExtension, and VOS::LocalVipSiteExtension.
| void VOS::LocalSiteExtension::spoofCheckHandler | ( | Message * | m | ) |
Handler for core:spoof-check messages.
Member Data Documentation
VUtil::URL VOS::LocalSiteExtension::url [protected] |
Definition at line 38 of file localsite.hh.
The documentation for this class was generated from the following file:
- /home/tetron/hack/vos/libs/vos/vos/localsite.hh