Revision: 42014
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42014&view=rev
Author:   davidloman
Date:     2011-01-07 15:35:25 +0000 (Fri, 07 Jan 2011)

Log Message:
-----------
Ah yes, thats right.  int Portal::read() cannot be public since calling it will 
block until data is ready.  This also undermines the select loop in 
PortalManager.

Modified Paths:
--------------
    rt^3/trunk/include/Portal.h

Modified: rt^3/trunk/include/Portal.h
===================================================================
--- rt^3/trunk/include/Portal.h 2011-01-07 15:19:08 UTC (rev 42013)
+++ rt^3/trunk/include/Portal.h 2011-01-07 15:35:25 UTC (rev 42014)
@@ -52,7 +52,12 @@
   QString getRemoteNodeName();
   bool handleNetMsg(NetMsg* msg);
 
-  /*
+
+protected:
+  Portal(PortalManager* pm, PkgTcpClient* client, struct pkg_switch* table);
+
+
+       /* Not for public use since libPKG will block on this call.
      * Returns:
      *          <0 on error
      *          0 on EOF
@@ -60,10 +65,6 @@
      */
   int read();
 
-protected:
-  Portal(PortalManager* pm, PkgTcpClient* client, struct pkg_switch* table);
-
-
 private:
   PortalManager* pm;
   struct pkg_switch* callbackTable;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to