Box 1.
| module alfresco{ |
| module corba_wrappers{ |
| exception NoSuchMethodException { |
| string reason; |
| }; |
| exception NoOutputException { |
| string reason; |
| }; |
| typedef sequence〈string〉 string_seq: // array of strings |
| struct InputStruct { |
| string_seq names; |
| string_seq seqs; |
| string_seq parameters; |
| }; |
| struct GffDataStruct{ |
| string gff;// primary feature information |
| string cgff;// reciprocal feature pair data |
| string_seq suplements;// e.g. alignment info |
| }; |
| interface Method { |
| void input (in InputStruct input); |
| void run (); |
| GffDataStruct getGffData () raises (NoOutputException); |
| }; |
| interface Server { |
| Method getMethod (in string methodName) raises |
| (NoSuchMethodException); |
| string_seq getAvailableMethods (); |
| }; |
| }; |
| }; |











