Using CORBA To Implement Objects
  • The following code shows an implementation of the UserSession interface from the Auction system.
  • This code needs to be coupled with additional code to register the implementation with the ORB
      #include "Auction.h"
      
      class UserSessionImpl : public virtual POA_Auction::UserSession
      {
          virtual void NotifyUser( const char* msg )
          {
              cerr << msg << endl;
          }
      };
              

Next Slide >>