Public Types | Public Member Functions
Tonido::Data::RemoteAccessManager Class Reference

Manages the remote access information. More...

List of all members.

Public Types

typedef boost::shared_ptr
< RemoteAccessManager
SharedPtr

Public Member Functions

 RemoteAccessManager (void)
 Ctor.
 ~RemoteAccessManager (void)
 Dtor.
bool remoteAccessHistoryItemAdd (PeerID &a_peer)
 Add a new remote access history item.
std::string remoteAccessHistoryGetXML (int64_bt a_from=-1, int64_bt a_numOfRecs=-1)
 Gets the full list of remote accesses over time in XML.
bool remoteAccessHistoryClear ()
 Clears all Remote access history.
bool remotePeerAdd (const PeerID &a_peer)
 Adds an allowed Tonido peer who is allowed to remotely connect.
bool remotePeerDelete (const PeerID &a_peer)
 Removes a remote peer who is allowed to remotely connect.
bool remotePeerAllowed (const PeerID &a_peerID)
 Returns whether the given peer is allowed to connect remotely.
bool remotePeerAllowedCollectionGet (std::set< PeerID > &a_peers)
 Gets list of remote peers who are allowed to connect.
bool remoteAccessEnabled ()
 Returns whether remote access is enabled.
void remoteAccessEnabled (bool a_enabled)
 Sets whether remote access is enabled or not.
void remoteAccessAllowAll (bool a_enabled)
 Sets whether all peers are allowed to connecte remotely or not.
bool remoteAccessAllowAll ()
 Returns whether all peers are allowed to connecte remotely or not.
void processNetworkOnline ()
 Processes the Network online event.

Detailed Description

Manages the remote access information.


Constructor & Destructor Documentation

Tonido::Data::RemoteAccessManager::RemoteAccessManager ( void  )

Ctor.

details if needed ...

Tonido::Data::RemoteAccessManager::~RemoteAccessManager ( void  )

Dtor.

details if needed ...


Generated on Wed Oct 12 2011 21:46:53. © CodeLathe LLC 2007-2011. All Rights Reserved.