aboutsummaryrefslogblamecommitdiffstats
path: root/lib/orber/examples/Stack/stack.idl
blob: f21f93917bc114c3342a5083a54c49fddb99226c (plain) (tree)


























                                                
#ifndef _STACK_IDL
#define _STACK_IDL

module StackModule {
  
  exception EmptyStack {};

  interface Stack {

    long pop() raises(StackModule::EmptyStack);

    void push(in long value);

    void empty();

  };

  interface StackFactory {

    StackModule::Stack create_stack();
    void destroy_stack(in StackModule::Stack s);

  };

};

#endif