1 2 package SOFA.SOFAnode.Made.TIR; 3 import java.rmi.RemoteException ; 4 5 6 public interface InterfaceDef extends Container, Contained, CDLType { 7 8 public InterfaceDef[] base_interfaces() throws RemoteException ; 9 10 public ProtocolDef protocol() throws RemoteException ; 11 12 13 public void setBaseInterfaces(InterfaceDef[] base_interfaces) throws RemoteException , TIRExceptCreate; 14 15 public ConstantDef create_constant(Identification id, CDLType type, ExprOperDef value) throws RemoteException , TIRExceptCreate, TIRExceptLock; 16 17 public StructDef create_struct(Identification id) throws RemoteException , TIRExceptCreate, TIRExceptLock; 18 19 public UnionDef create_union(Identification id, CDLType switch_type) throws RemoteException , TIRExceptCreate, TIRExceptLock; 20 21 public EnumDef create_enum(Identification id) throws RemoteException , TIRExceptCreate, TIRExceptLock; 22 23 public TypedefDef create_typedef(Identification id, CDLType orig_type) throws RemoteException , TIRExceptCreate, TIRExceptLock; 24 25 public ExceptionDef create_exception(Identification id) throws RemoteException , TIRExceptCreate, TIRExceptLock; 26 27 public AttributeDef create_attribute(Identification name, CDLType type, int mode) throws RemoteException , TIRExceptCreate, TIRExceptLock; 28 29 public OperationDef create_operation(Identification name, CDLType result, ExceptionDef[] exceptions) throws RemoteException , TIRExceptCreate, TIRExceptLock; 30 31 public ProtocolDef create_protocol() throws RemoteException , TIRExceptCreate, TIRExceptLock; 32 } 33 | Popular Tags |