1 26 27 package org.objectweb.ccm.IDL3; 28 29 37 38 public interface OperationDecl 39 extends Declaration, WithInParameters 40 { 41 42 public static int OP_NORMAL = org.omg.CORBA.OperationMode._OP_NORMAL; 43 44 45 public static int OP_ONEWAY = org.omg.CORBA.OperationMode._OP_ONEWAY; 46 47 48 public static int PARAM_IN = org.omg.CORBA.ParameterMode._PARAM_IN; 49 50 51 public static int PARAM_OUT = org.omg.CORBA.ParameterMode._PARAM_OUT; 52 53 54 public static int PARAM_INOUT = org.omg.CORBA.ParameterMode._PARAM_INOUT; 55 56 59 public void 60 setNormal(); 61 62 65 public void 66 setOneway(); 67 68 73 public void 74 setResultType(TypeRef type); 75 76 82 public void 83 addOutParam(String name, TypeRef type); 84 85 91 public void 92 addInOutParam(String name, TypeRef type); 93 94 99 public void 100 addContext(String name); 101 102 107 public boolean 108 isOneway(); 109 110 115 public TypeRef 116 getType(); 117 118 123 public ExceptionList 124 getExceptionList(); 125 126 131 public ExceptionDecl[] 132 getExceptions(); 133 134 139 public ParameterList 140 getParameters(); 141 142 147 public String [] 148 getContexts(); 149 } 150 | Popular Tags |