Server-side interface

  class example_object_sk: public virtual example_object{
    virtual void operation_on_object
  	(CORBA::Long a, CORBA::Boolean& b) = 0;
    static void call_operation_on_object( /* a stream */);
  };
  

On the object implementation side, the up-call from the Object Adaptor will be made through the skeleton function call_operation_on_object. Its implementation contains interface to the net on the server's side. After unmarshaling parameters, this function is going to execute a call to operation_on_object, which implements the service. Note that in this class operation_on_object is a pure virtual function and thus has to be implemented in a class derived from example_object_sk.


slide: Server-side