2 #ifndef AMI_BUFFERING_H
3 #define AMI_BUFFERING_H
4 #include /**/ "ace/pre.h"
8 /// Implement the Test::AMI_Buffering interface
10 : public virtual POA_Test::AMI_Buffering
14 AMI_Buffering (CORBA::ORB_ptr orb
,
15 Test::AMI_Buffering_Admin_ptr admin
);
17 // = The skeleton methods
18 virtual void receive_data (const Test::Payload
&the_payload
);
20 virtual void flush ();
24 virtual void shutdown ();
26 /// internal implementation of shutdown. This
32 Nest_Guard (AMI_Buffering
&);
35 AMI_Buffering
&target_
;
38 /// Use an ORB reference to shutdown the application.
41 /// Report request progress to this interface
42 Test::AMI_Buffering_Admin_var admin_
;
44 /// nesting depth count for receive_data processing
47 /// maximum nesting depth reached during run
50 /// flag indicating that a shutdown is required as soon
51 /// as the nest count reaches 0.
55 #include /**/ "ace/post.h"
56 #endif /* AMI_BUFFERING_H */