4 #include /**/ "ace/pre.h"
6 #include "tao/DynamicInterface/Dynamic_Implementation.h"
7 #include "tao/PortableServer/PortableServer.h"
8 #include "tao/DynamicInterface/AMH_DSI_Response_Handler.h"
12 #if defined (_MSC_VER)
13 # pragma warning(push)
14 # pragma warning (disable:4250)
17 /// Implement the Test::Roundtrip interface
19 : public virtual PortableServer::DynamicImplementation
23 Roundtrip (CORBA::ORB_ptr orb
);
27 /// Turns around and calls invoke, but using AMH style handler
28 virtual void _dispatch (TAO_ServerRequest
&request
,
29 TAO::Portable_Server::Servant_Upcall
*context
);
31 void invoke (CORBA::ServerRequest_ptr request
);
33 virtual void invoke (CORBA::ServerRequest_ptr request
,
34 TAO_AMH_DSI_Response_Handler_ptr rh
);
35 virtual CORBA::RepositoryId
_primary_interface (
36 const PortableServer::ObjectId
&oid
,
37 PortableServer::POA_ptr poa
);
40 /// Use an ORB reference to convert strings to objects and shutdown
49 #include /**/ "ace/post.h"
50 #endif /* ROUNDTRIP_H */