00001 // Filename: directdClient.h 00002 // Created by: skyler 2002.04.08 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #include "directd.h" 00016 00017 // Description: DirectDClient is a test app for DriectDServer. 00018 class DirectDClient: public DirectD { 00019 public: 00020 DirectDClient(); 00021 ~DirectDClient(); 00022 00023 void run_client(const string& host, int port); 00024 00025 protected: 00026 void cli_command(const string& cmd); 00027 }; 00028