17 #ifndef __M2ETIS_WRAPPER_CHIMERA_CHIMERAWRAPPER_H__
18 #define __M2ETIS_WRAPPER_CHIMERA_CHIMERAWRAPPER_H__
31 class ChimeraWrapperImpl;
48 void init(
const int port);
50 void init(
const int port,
const std::string & known_hostname,
const int know_hostport);
56 std::list<net::NodeHandle<net::NetworkType<net::CHIMERA> >::Ptr>
neighborSet(
const int num)
const;
bool range(const net::NodeHandle< net::NetworkType< net::CHIMERA >>::Ptr node, int rank, const net::NetworkType< net::CHIMERA >::Key &lkey, const net::NetworkType< net::CHIMERA >::Key &rkey) const
NodeHandle in different structured p2p-systems.
net::NodeHandle< net::NetworkType< net::CHIMERA > >::Ptr getSelfNodeHandle() const
query your NodeHandle. You may query that for it's key.
std::list< net::NodeHandle< net::NetworkType< net::CHIMERA > >::Ptr > neighborSet(const int num) const
std::list< net::NodeHandle< net::NetworkType< net::CHIMERA > >::Ptr > replicaSet(const net::NetworkType< net::CHIMERA >::Key &key, const int maxRank) const
The C++-wrapper around chimera.
void registerMessageType(const message::MessageType type, const bool ack) const
The C++-wrapper around chimera.
std::list< net::NodeHandle< net::NetworkType< net::CHIMERA > >::Ptr > local_lookup(const net::NetworkType< net::CHIMERA >::Key &key, const int num, const bool safe) const
void init(const int port)
void send(const typename message::NetworkMessage< net::NetworkType< net::CHIMERA >>::Ptr msg, typename net::NodeHandle< net::NetworkType< net::CHIMERA >>::Ptr_const hint)
bool isResponsibleFor(const net::NetworkType< net::CHIMERA >::Key &key, const net::NetworkType< net::CHIMERA >::Key &node) const