Panda3D
directdServer.h
1 // Filename: directdServer.h
2 // Created by: skyler 2002.04.08
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #include "queuedConnectionReader.h"
16 #include "directd.h"
17 
18 // Description: Start a directdServer on each of the machines you
19 // which to start panda on.
20 //
21 // Start a directdClient on the controlling machine
22 // or import ShowBaseGlobal with the xxxxx flag in
23 // your Configrc. The client will connact each of
24 // the servers in the xxxxx list in your Configrc.
25 class DirectDServer: public DirectD {
26 public:
27  DirectDServer();
28  ~DirectDServer();
29 
30  void run_server(int port);
31 
32 protected:
33  void read_command(string& cmd);
34  virtual void handle_command(const string& cmd);
35 };
36 
DirectD is a client/server app for starting panda/direct.
Definition: directd.h:63
Start a directdServer on each of the machines you which to start panda on.
Definition: directdServer.h:25