FRIBParallelanalysis  1.0
FrameworkforMPIParalleldataanalysisatFRIB
CTCLTcpServerInstance.h
1 #ifndef CTCLTCPSERVERINSTANCE_H
2 #define CTCLTCPSERVERINSTANCE_H
3 /*
4  This software is Copyright by the Board of Trustees of Michigan
5  State University (c) Copyright 2005.
6 
7  You may use this software under the terms of the GNU public license
8  (GPL). The terms of this license are described at:
9 
10  http://www.gnu.org/licenses/gpl.txt
11 
12  Author:
13  Ron Fox
14  NSCL
15  Michigan State University
16  East Lansing, MI 48824-1321
17 */
18 
19 // Headers we absolutely need:
20 
21 #include <CTCLChannelCommander.h>
22 #include <tcl.h>
23 
24 
25 // forward classes:
26 
27 class CTCLServer;
28 class CTCLInterpreter;
29 
30 
40 {
41 private:
42  CTCLServer* m_pListener;
43 
44  // Canonicals:
45 public:
47  Tcl_Channel connection,
48  CTCLServer* pServer);
49  virtual ~CTCLTcpServerInstance();
50 
51 private:
54  int operator==(const CTCLTcpServerInstance&) const;
55  int operator!=(const CTCLTcpServerInstance&) const;
56 
57  // Overrides of the base class methods:
58 
59 public:
60  virtual void onEndFile();
61  virtual void returnResult();
62 
63 };
64 
65 #endif
Definition: CTCLChannelCommander.h:39
Definition: TCLInterpreter.h:59
virtual void onEndFile()
Definition: CTCLTcpServerInstance.cpp:57
Definition: CTCLServer.h:48
Definition: CTCLTcpServerInstance.h:39
virtual ~CTCLTcpServerInstance()
Definition: CTCLTcpServerInstance.cpp:46
virtual void returnResult()
Definition: CTCLTcpServerInstance.cpp:71
CTCLTcpServerInstance(CTCLInterpreter *pInterp, Tcl_Channel connection, CTCLServer *pServer)
Definition: CTCLTcpServerInstance.cpp:33