Responder.h
Go to the documentation of this file.
1 /* -*- C++ -*- */
2 
3 /****************************************************************************
4 ** Copyright (c) 2001-2014
5 **
6 ** This file is part of the QuickFIX FIX Engine
7 **
8 ** This file may be distributed under the terms of the quickfixengine.org
9 ** license as defined by quickfixengine.org and appearing in the file
10 ** LICENSE included in the packaging of this file.
11 **
12 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
13 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
14 **
15 ** See http://www.quickfixengine.org/LICENSE for licensing information.
16 **
17 ** Contact ask@quickfixengine.org if any conditions of this licensing are
18 ** not clear to you.
19 **
20 ****************************************************************************/
21 
22 #ifndef FIX_RESPONDER_H
23 #define FIX_RESPONDER_H
24 
25 #ifdef _MSC_VER
26 #pragma warning( disable : 4503 4355 4786 4290 )
27 #endif
28 
29 #include <string>
30 
31 namespace FIX
32 {
34  class Responder
35  {
36  public:
37  virtual ~Responder() {}
38  virtual bool send( const std::string& ) = 0;
39  virtual void disconnect() = 0;
40  };
41 }
42 
43 #endif
Interface implements sending on and disconnecting a transport.
Definition: Responder.h:34
virtual bool send(const std::string &)=0
Definition: Acceptor.cpp:34
virtual void disconnect()=0
virtual ~Responder()
Definition: Responder.h:37

Generated on Thu Sep 5 2019 11:07:58 for QuickFIX by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2001