summaryrefslogtreecommitdiff
path: root/TAO/tests/Nested_Upcall_Crash/Client_Peer.h
blob: 95430ca94e9f4f956716ffdcf7cfd7bfc5d1c81c (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
/**
 * @file Client_Peer.h
 *
 * @author Carlos O'Ryan <coryan@atdesk.com>
 */
#ifndef Client_Peer__h_
#define Client_Peer__h_

#include "TestS.h"

class Client_Peer
  : public POA_Test::Peer
{
public:
  Client_Peer (CORBA::ORB_ptr orb);

  void callme(Test::Peer_ptr callback,
              CORBA::ULong max_depth,
              Test::Payload const &);
  void crash();
  void noop();

private:
  CORBA::ORB_var orb_;
};

#endif /* Client_Peer__h_ */