blob: 2e011729046924612c3c7b5bd76946fe0228565f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
// This may look like C, but it's really -*- C++ -*-
// $Id$
// ============================================================================
//
// = LIBRARY
// TAO
//
// = DESCRIPTION
// Dispatch the reply appropriately.
//
// = AUTHOR
// Alexander Babu Arulanthu <alex@cs.wustl.edu>
//
// ============================================================================
#ifndef TAO_DII_REPLY_DISPATCHER_H
#define TAO_DII_REPLY_DISPATCHER_H
#include "ace/pre.h"
#include "tao/orbconf.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "dynamicinterface_export.h"
#include "tao/Asynch_Reply_Dispatcher.h"
class TAO_ORB_Core;
class TAO_DynamicInterface_Export TAO_DII_Deferred_Reply_Dispatcher
: public TAO_Asynch_Reply_Dispatcher_Base
{
// = TITLE
// TAO_DII_Deferred_Reply_Dispatcher
//
// = DESCRIPTION
// Reply dispatcher for DII deferred requests.
//
public:
TAO_DII_Deferred_Reply_Dispatcher (const CORBA::Request_ptr req,
TAO_ORB_Core *orb_core);
// Constructor.
virtual ~TAO_DII_Deferred_Reply_Dispatcher (void);
// Destructor.
// = The Reply_Dispatcher methods
virtual int dispatch_reply (TAO_Pluggable_Reply_Params ¶m);
virtual void connection_closed (void);
private:
TAO_InputCDR reply_cdr_;
// CDR stream for reading the input.
// @@ Carlos : message_state should go away. All we need is the reply
// cdr. Is that right? (Alex).
const CORBA::Request_ptr req_;
// Where the reply needs to go.
};
#include "ace/post.h"
#endif /* TAO_REPLY_DISPATCHER_H */
|