interreality.org [VOS]
[Home] [About]
[Screenshots]
[Download]
[News]
[Community]
[Documentation] [Manual]
[Bugs & Requests] [Wiki]

VOS::LocalSiteExtension Class Reference

#include <localsite.hh>

Inheritance diagram for VOS::LocalSiteExtension:

VOS::SiteExtension VOS::Dispatchable VOS::LocalSocketSiteExtension VOS::LocalVipSiteExtension List of all members.

Detailed Description

Definition at line 29 of file localsite.hh.

Public Member Functions

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]

Returns:
the site this extension is attached to

Definition at line 67 of file localsite.hh.

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]

void VOS::LocalSiteExtension::spoofCheckHandler ( Message m  ) 

Handler for core:spoof-check messages.


Member Data Documentation

Definition at line 38 of file localsite.hh.


The documentation for this class was generated from the following file: