Client-side
class example_object: public virtual CORBA::Object{ static example_object_Ref _bind(...); virtual void operation_on_object (CORBA::Long a, CORBA::Boolean& b); }
The example_object class is used on the client's side. The function
operation_on_object in this class represents a stub; its
implementation will marshal parameters of the request, initiate sending the
request to the server (through calling some ORB-specific routines which the
compiler knows about) and wait for the answer. The _bind function will bind
to a specific object of the example_object type given some of its
characteristics (eg. its name, address, etc).