summaryrefslogtreecommitdiff
path: root/TAO/tao/Reply_Dispatcher.cpp
blob: a6249ef9c36f3aae3677d2febc8da87781d8ac50 (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
67
68
69
70
71
72
73
74
// $Id$

#include "tao/Reply_Dispatcher.h"

// Constructor.
TAO_Reply_Dispatcher::TAO_Reply_Dispatcher (void)
  : request_id_ (0),
    cdr_ (0)
{
}

// Destructor.
TAO_Reply_Dispatcher::~TAO_Reply_Dispatcher (void)
{
}

void
TAO_Reply_Dispatcher::request_id (CORBA::ULong request_id)
{
  this->request_id_ = request_id;
}

CORBA::ULong
TAO_Reply_Dispatcher::request_id (void) const
{
  return this->request_id_;
}

void
TAO_Reply_Dispatcher::reply_status (CORBA::ULong reply_status)
{
  this->reply_status_ = reply_status;
}

// Get the reply status.
CORBA::ULong
TAO_Reply_Dispatcher::reply_status (void) const
{
  return this->reply_status_;
}

// Set the CDR which the has the reply message.
void
TAO_Reply_Dispatcher::cdr (TAO_InputCDR *cdr)
{
  this->cdr_ = cdr;
}

// Get the CDR stream.
TAO_InputCDR *
TAO_Reply_Dispatcher::cdr (void) const
{
  return this->cdr_;
}

// *********************************************************************

// Constructor.
TAO_Synch_Reply_Dispatcher::TAO_Synch_Reply_Dispatcher (void)
{
}

// Destructor.
TAO_Synch_Reply_Dispatcher::~TAO_Synch_Reply_Dispatcher (void)
{
}

// Dispatch the reply.
int
TAO_Synch_Reply_Dispatcher::dispatch_reply (void)
{
  // @@ Handover the input CDR to the Invocation class.
  return 0;
}