001: /***** Copyright (c) 1999 Object Management Group. Unlimited rights to
002: duplicate and use this code are hereby granted provided that this
003: copyright notice is included.
004: *****/package org.omg.CORBA.portable;
005:
006: public abstract class Delegate {
007:
008: /**
009: *@deprecated Deprecated by CORBA 2.3
010: */
011: public abstract org.omg.CORBA.InterfaceDef get_interface(
012: org.omg.CORBA.Object self);
013:
014: public org.omg.CORBA.Object get_interface_def(
015: org.omg.CORBA.Object self) {
016: throw new org.omg.CORBA.NO_IMPLEMENT();
017: }
018:
019: public abstract org.omg.CORBA.Object duplicate(
020: org.omg.CORBA.Object self);
021:
022: public abstract void release(org.omg.CORBA.Object self);
023:
024: public abstract boolean is_a(org.omg.CORBA.Object self,
025: String repository_id);
026:
027: public abstract boolean non_existent(org.omg.CORBA.Object self);
028:
029: public abstract org.omg.CORBA.Object get_component(
030: org.omg.CORBA.Object self);
031:
032: public abstract boolean is_equivalent(org.omg.CORBA.Object self,
033: org.omg.CORBA.Object rhs);
034:
035: public abstract int hash(org.omg.CORBA.Object self, int max);
036:
037: public abstract org.omg.CORBA.Request create_request(
038: org.omg.CORBA.Object self, org.omg.CORBA.Context ctx,
039: String operation, org.omg.CORBA.NVList arg_list,
040: org.omg.CORBA.NamedValue result);
041:
042: public abstract org.omg.CORBA.Request create_request(
043: org.omg.CORBA.Object self, org.omg.CORBA.Context ctx,
044: String operation, org.omg.CORBA.NVList arg_list,
045: org.omg.CORBA.NamedValue result,
046: org.omg.CORBA.ExceptionList exclist,
047: org.omg.CORBA.ContextList ctxlist);
048:
049: public abstract org.omg.CORBA.Request request(
050: org.omg.CORBA.Object self, String operation);
051:
052: public org.omg.CORBA.portable.OutputStream request(
053: org.omg.CORBA.Object self, String operation,
054: boolean responseExpected) {
055: throw new org.omg.CORBA.NO_IMPLEMENT();
056: }
057:
058: public org.omg.CORBA.portable.InputStream invoke(
059: org.omg.CORBA.Object self,
060: org.omg.CORBA.portable.OutputStream os)
061: throws ApplicationException, RemarshalException {
062: throw new org.omg.CORBA.NO_IMPLEMENT();
063: }
064:
065: public void releaseReply(org.omg.CORBA.Object self,
066: org.omg.CORBA.portable.InputStream is) {
067: throw new org.omg.CORBA.NO_IMPLEMENT();
068: }
069:
070: public org.omg.CORBA.Policy get_policy(org.omg.CORBA.Object self,
071: int policy_type) {
072: throw new org.omg.CORBA.NO_IMPLEMENT();
073: }
074:
075: public org.omg.CORBA.DomainManager[] get_domain_managers(
076: org.omg.CORBA.Object self) {
077: throw new org.omg.CORBA.NO_IMPLEMENT();
078: }
079:
080: public org.omg.CORBA.Object set_policy_override(
081: org.omg.CORBA.Object self, org.omg.CORBA.Policy[] policies,
082: org.omg.CORBA.SetOverrideType set_add) {
083: throw new org.omg.CORBA.NO_IMPLEMENT();
084: }
085:
086: public org.omg.CORBA.ORB orb(org.omg.CORBA.Object self) {
087: throw new org.omg.CORBA.NO_IMPLEMENT();
088: }
089:
090: public boolean is_local(org.omg.CORBA.Object self) {
091: return false;
092: }
093:
094: public ServantObject servant_preinvoke(org.omg.CORBA.Object self,
095: String operation, Class expectedType) {
096: return null;
097: }
098:
099: public void servant_postinvoke(org.omg.CORBA.Object self,
100: ServantObject servant) {
101: }
102:
103: public String toString(org.omg.CORBA.Object self) {
104: return self.getClass().getName() + ":" + this .toString();
105: }
106:
107: public int hashCode(org.omg.CORBA.Object self) {
108: return System.identityHashCode(self);
109: }
110:
111: public boolean equals(org.omg.CORBA.Object self,
112: java.lang.Object obj) {
113: return (self == obj);
114: }
115: }
|