{
key = "/"+lnk.cntName+"/"+lnk.expName;
if (lnk.isRedirected)
{
MsgLog.log("TWatchdogLink", "watchdog key "+key+" is redirected",0,null,0);
RedirectedItem rdr = TLinkFactory.getRedirectionInformation(lnk);
if (rdr == null)
{
MsgLog.log("TWatchdogLink", "redirected without valid redirection information",0,null,0);
return;
}
key = "/"+rdr.getDstContext()+"/"+rdr.getDstServer();
}
parent = getLinkFactory().getWatchdogLink(key);
lnk.isBeingWatched = true;
if (parent == null)
{ // this is the parent watchdog link for this key