Revision: 40714
http://brlcad.svn.sourceforge.net/brlcad/?rev=40714&view=rev
Author: davidloman
Date: 2010-09-27 20:00:13 +0000 (Mon, 27 Sep 2010)
Log Message:
-----------
Add some debug printers to help track down an issue. Seems that libpkg isn't
calling the springboard in Portal.
Modified Paths:
--------------
rt^3/trunk/src/libNet/Portal.cxx
rt^3/trunk/src/libNet/PortalManager.cxx
Modified: rt^3/trunk/src/libNet/Portal.cxx
===================================================================
--- rt^3/trunk/src/libNet/Portal.cxx 2010-09-27 19:49:42 UTC (rev 40713)
+++ rt^3/trunk/src/libNet/Portal.cxx 2010-09-27 20:00:13 UTC (rev 40714)
@@ -65,6 +65,10 @@
localNodeName = QUuid::createUuid().toString();
}
+ QString s("Sending my localNodename: ");
+ s.append(localNodeName);
+ this->log->logDEBUG("Portal", s);
+
RemoteNodenameSetMsg* msg = new RemoteNodenameSetMsg(localNodeName);
this->send(msg);
}
@@ -115,6 +119,11 @@
RemoteNodenameSetMsg* t = (RemoteNodenameSetMsg*)msg;
this->remoteNodeName = t->getRemoteNodename();
this->handshakeComplete = true;
+
+ QString s("Recv-ed a RemoteNodename: ");
+ s.append(this->remoteNodeName );
+ this->log->logDEBUG("Portal", s);
+
delete msg;
return true;
}
@@ -125,6 +134,8 @@
void
Portal::callbackSpringboard(struct pkg_conn* conn, char* buf)
{
+ Logger::getInstance()->logBANNER("Portal","TEST!!!");
+
/* Check to see if we got a good Buffer and Portal Object */
if (buf == 0) {
bu_bomb("pkg callback returned a NULL buffer!\n");
Modified: rt^3/trunk/src/libNet/PortalManager.cxx
===================================================================
--- rt^3/trunk/src/libNet/PortalManager.cxx 2010-09-27 19:49:42 UTC (rev
40713)
+++ rt^3/trunk/src/libNet/PortalManager.cxx 2010-09-27 20:00:13 UTC (rev
40714)
@@ -227,6 +227,7 @@
this->masterFDSLock.unlock();
}
+ //Send our name
newPortal->sendGSNodeName();
return newPortal;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits