Revision: 40676
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40676&view=rev
Author:   davidloman
Date:     2010-09-24 14:44:53 +0000 (Fri, 24 Sep 2010)

Log Message:
-----------
Remove unused gateway test

Removed Paths:
-------------
    rt^3/trunk/tests/libNet/gatewayTest.cxx

Deleted: rt^3/trunk/tests/libNet/gatewayTest.cxx
===================================================================
--- rt^3/trunk/tests/libNet/gatewayTest.cxx     2010-09-24 14:25:17 UTC (rev 
40675)
+++ rt^3/trunk/tests/libNet/gatewayTest.cxx     2010-09-24 14:44:53 UTC (rev 
40676)
@@ -1,113 +0,0 @@
-/*        N E T P O R T A L M A N A G E R T E S T . C X X
- * BRLCAD
- *
- * Copyright (c) 2010 United States Government as represented by
- * the U.S. Army Research Laboratory.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public License
- * version 2.1 as published by the Free Software Foundation.
- *
- * This library is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this file; see the file named COPYING for more
- * information.
- */
-/** @file netPortalManagerTest.cxx
- *
- * Brief description
- *
- */
-
-#include "libnetwork.h"
-#include "libutility.h"
-#include "libalf.h"
-#include "PrintingMsgHandler.h"
-
-#include <QCoreApplication>
-#include <QHostAddress>
-
-
-class GatewayTest: public BaseApp
-{
-public:
-    GatewayTest() :
-       BaseApp()
-    {
-       this->log->logBANNER("GatewayTest", "GatewayTest");
-
-       this->serverAddy = new QHostAddress(QHostAddress::LocalHost);
-       this->serverPort = 6000;
-
-       this->clientAddy = new QHostAddress(QHostAddress::LocalHost);
-       this->clientPort = 7000;
-
-       this->serverMsgHandler = new PrintingMsgHandler("ServerHandler");
-       this->serverGate = new Gateway("ImaServer", this->serverMsgHandler);
-
-       this->clientMsgHandler = new PrintingMsgHandler("ClientHandler");
-       this->clientGate = new Gateway("ImaClient", this->clientMsgHandler);
-    }
-    ~GatewayTest()
-    {
-    }
-
-protected:
-    int _run()
-    {
-       this->log->logINFO("GatewayTest", "Starting Server Gateway");
-
-       //Startup the server
-       serverGate->start();
-       serverGate->listen(*serverAddy, serverPort);
-
-       ThreadUtils::sleep(2);
-
-       serverGate->stopListening();
-
-       return 0;
-    }
-
-private:
-    QHostAddress* serverAddy;
-    quint16 serverPort;
-
-    QHostAddress* clientAddy;
-    quint16 clientPort;
-
-    PrintingMsgHandler* serverMsgHandler;
-    Gateway* serverGate;
-
-    PrintingMsgHandler* clientMsgHandler;
-    Gateway* clientGate;
-
-};
-
-/* 
- * =====================
- *
- *        Main
- *
- * =====================
- */
-
-
-int main(int argc, char** argv)
-{
-    GatewayTest* app = new GatewayTest();
-    AppLauncher al(argc, argv, app);
-    return al.exec();
-}
-
-// Local Variables:
-// tab-width: 8
-// mode: C++
-// c-basic-offset: 4
-// indent-tabs-mode: t
-// c-file-style: "stroustrup"
-// End:
-// ex: shiftwidth=4 tabstop=8


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

Reply via email to