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