An Example Interface (Cont.) Here is the interface definition, using CORBA: interface HelloWorld { // the first method gets no parameters and returns no value. void sayHello(); // the second method gets one parameter (the 'in' denotes // this is an input parameter, i.e. sent by the client and // read by the server), of type 'string'). void sayMessage(in string a_message); // the next method gets no parameters, but returns a value // of type 'boolean' boolean isTheWorldSafe(); // the 4th method gets one parameter (the 'in' parameter) // sets back another parameters (the 'out' parameter is // assigned a value, by the server, which is delivered back // to the client) and also returns a value. long readMessage(in string prompt, out string message); };