More work on tags and capabilities.
This commit is contained in:
parent
7e6e56e2bc
commit
f057bb63cd
12 changed files with 397 additions and 54 deletions
|
@ -169,7 +169,9 @@ SharedPtr<Peer> Topology::getPeer(const Address &zta)
|
|||
|
||||
Identity Topology::getIdentity(const Address &zta)
|
||||
{
|
||||
{
|
||||
if (zta == RR->identity.address()) {
|
||||
return RR->identity;
|
||||
} else {
|
||||
Mutex::Lock _l(_lock);
|
||||
const SharedPtr<Peer> *const ap = _peers.get(zta);
|
||||
if (ap)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue