1 5 6 package org.omg.CORBA.portable; 7 8 public abstract class Delegate { 9 10 13 public abstract org.omg.CORBA.InterfaceDef get_interface( 14 org.omg.CORBA.Object self); 15 16 public org.omg.CORBA.Object get_interface_def(org.omg.CORBA.Object self) { 17 throw new org.omg.CORBA.NO_IMPLEMENT (); 18 } 19 20 public abstract org.omg.CORBA.Object duplicate(org.omg.CORBA.Object self); 21 22 public abstract void release(org.omg.CORBA.Object self); 23 24 public abstract boolean is_a(org.omg.CORBA.Object self, 25 String repository_id); 26 27 public abstract boolean non_existent(org.omg.CORBA.Object self); 28 29 public abstract boolean is_equivalent(org.omg.CORBA.Object self, 30 org.omg.CORBA.Object rhs); 31 32 public abstract int hash(org.omg.CORBA.Object self, int max); 33 34 public abstract org.omg.CORBA.Request create_request( 35 org.omg.CORBA.Object self, 36 org.omg.CORBA.Context ctx, 37 String operation, 38 org.omg.CORBA.NVList arg_list, 39 org.omg.CORBA.NamedValue result); 40 41 public abstract org.omg.CORBA.Request create_request( 42 org.omg.CORBA.Object self, 43 org.omg.CORBA.Context ctx, 44 String operation, 45 org.omg.CORBA.NVList arg_list, 46 org.omg.CORBA.NamedValue result, 47 org.omg.CORBA.ExceptionList exclist, 48 org.omg.CORBA.ContextList ctxlist); 49 50 public abstract org.omg.CORBA.Request request( 51 org.omg.CORBA.Object self, 52 String operation); 53 54 public org.omg.CORBA.portable.OutputStream request( 55 org.omg.CORBA.Object self, 56 String operation, 57 boolean responseExpected) { 58 throw new org.omg.CORBA.NO_IMPLEMENT (); 59 } 60 61 public org.omg.CORBA.portable.InputStream invoke(org.omg.CORBA.Object self, 62 org.omg.CORBA.portable.OutputStream os) 63 throws ApplicationException , RemarshalException { 64 throw new org.omg.CORBA.NO_IMPLEMENT (); 65 } 66 67 public void releaseReply(org.omg.CORBA.Object self, 68 org.omg.CORBA.portable.InputStream is) { 69 throw new org.omg.CORBA.NO_IMPLEMENT (); 70 } 71 72 public org.omg.CORBA.Policy get_policy(org.omg.CORBA.Object self, 73 int policy_type) { 74 throw new org.omg.CORBA.NO_IMPLEMENT (); 75 } 76 77 public org.omg.CORBA.DomainManager [] get_domain_managers( 78 org.omg.CORBA.Object self) { 79 throw new org.omg.CORBA.NO_IMPLEMENT (); 80 } 81 82 83 public org.omg.CORBA.Object set_policy_override(org.omg.CORBA.Object self, 84 org.omg.CORBA.Policy [] policies, 85 org.omg.CORBA.SetOverrideType set_add) { 86 throw new org.omg.CORBA.NO_IMPLEMENT (); 87 } 88 89 public org.omg.CORBA.ORB orb(org.omg.CORBA.Object self) { 90 throw new org.omg.CORBA.NO_IMPLEMENT (); 91 } 92 93 94 public boolean is_local(org.omg.CORBA.Object self) { 95 return false; 96 } 97 98 public ServantObject servant_preinvoke(org.omg.CORBA.Object self, 99 String operation, Class expectedType) { 100 return null; 101 } 102 103 public void servant_postinvoke(org.omg.CORBA.Object self, 104 ServantObject servant) { 105 } 106 107 public String toString(org.omg.CORBA.Object self) { 108 return self.getClass().getName() + ":" + this.toString(); 109 } 110 111 public int hashCode(org.omg.CORBA.Object self) { 112 return System.identityHashCode(self); 113 } 114 115 public boolean equals(org.omg.CORBA.Object self, java.lang.Object obj) { 116 return (self == obj); 117 } 118 } 119 | Popular Tags |