Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

direct/src/directdServer/directdServer.h

Go to the documentation of this file.
00001 // Filename: directdServer.h
00002 // Created by:  skyler 2002.04.08
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #include "queuedConnectionReader.h"
00020 #include "directd.h"
00021 
00022 // Description: Start a directdServer on each of the machines you
00023 //              which to start panda on.
00024 //              
00025 //              Start a directdClient on the controlling machine
00026 //              or import ShowBaseGlobal with the xxxxx flag in
00027 //              your Configrc.  The client will connact each of
00028 //              the servers in the xxxxx list in your Configrc.
00029 class DirectDServer: public DirectD {
00030 public:
00031   DirectDServer();
00032   ~DirectDServer();
00033   
00034   void run_server(int port);
00035 
00036 protected:
00037   void read_command(string& cmd);
00038   virtual void handle_command(const string& cmd);
00039 };
00040 

Generated on Fri May 2 01:37:21 2003 for Direct by doxygen1.3