📄 delegate.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Thu Apr 27 23:43:36 PDT 2000 --><TITLE>Java 2 Platform SE v1.3: Class Delegate</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Delegate.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <A HREF="../../../../org/omg/CORBA/portable/InputStream.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="Delegate.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.omg.CORBA.portable</FONT><BR>Class Delegate</H2><PRE><A HREF="../../../../java/lang/Object.html">java.lang.Object</A> | +--<B>org.omg.CORBA.portable.Delegate</B></PRE><DL><DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/omg/CORBA_2_3/portable/Delegate.html">Delegate</A></DD></DL><HR><DL><DT>public abstract class <B>Delegate</B><DT>extends <A HREF="../../../../java/lang/Object.html">Object</A></DL><P>Specifies a portable API for ORB-vendor-specific implementation of the org.omg.CORBA.Object methods. Each stub (proxy) contains a delegate object, to which all org.omg.CORBA.Object methods are forwarded. This allows a stub generated by one vendor's ORB to work with the delegate from another vendor's ORB.<P><DL><DT><B>See Also: </B><DD><A HREF="../../../../org/omg/CORBA/Object.html"><CODE>Object</CODE></A></DL><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/omg/CORBA/portable/Delegate.html#Delegate()">Delegate</A></B>()</CODE><BR> </TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../../org/omg/CORBA/Request.html">Request</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/omg/CORBA/portable/Delegate.html#create_request(org.omg.CORBA.Object, org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue)">create_request</A></B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> obj, <A HREF="../../../../org/omg/CORBA/Context.html">Context</A> ctx, <A HREF="../../../../java/lang/String.html">String</A> operation, <A HREF="../../../../org/omg/CORBA/NVList.html">NVList</A> arg_list, <A HREF="../../../../org/omg/CORBA/NamedValue.html">NamedValue</A> result)</CODE><BR> Creates a Request instance for use in the Dynamic Invocation Interface.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../../org/omg/CORBA/Request.html">Request</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/omg/CORBA/portable/Delegate.html#create_request(org.omg.CORBA.Object, org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList)">create_request</A></B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> obj, <A HREF="../../../../org/omg/CORBA/Context.html">Context</A> ctx, <A HREF="../../../../java/lang/String.html">String</A> operation, <A HREF="../../../../org/omg/CORBA/NVList.html">NVList</A> arg_list, <A HREF="../../../../org/omg/CORBA/NamedValue.html">NamedValue</A> result, <A HREF="../../../../org/omg/CORBA/ExceptionList.html">ExceptionList</A> exclist, <A HREF="../../../../org/omg/CORBA/ContextList.html">ContextList</A> ctxlist)</CODE><BR> Creates a Request instance for use in the Dynamic Invocation Interface.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../../org/omg/CORBA/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/omg/CORBA/portable/Delegate.html#duplicate(org.omg.CORBA.Object)">duplicate</A></B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> obj)</CODE><BR> Returns a duplicate of the object reference provided.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/omg/CORBA/portable/Delegate.html#equals(org.omg.CORBA.Object, java.lang.Object)">equals</A></B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> self, <A HREF="../../../../java/lang/Object.html">Object</A> obj)</CODE><BR> Provide the implementation to override the equals(java.lang.Object obj) method of the delegating CORBA object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/omg/CORBA/DomainManager.html">DomainManager</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/omg/CORBA/portable/Delegate.html#get_domain_managers(org.omg.CORBA.Object)">get_domain_managers</A></B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> self)</CODE><BR> Retrieves the <code>DomainManagers</code> of this object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/omg/CORBA/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/omg/CORBA/portable/Delegate.html#get_interface_def(org.omg.CORBA.Object)">get_interface_def</A></B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> self)</CODE><BR> Return an InterfaceDef for the object reference provided.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/omg/CORBA/Policy.html">Policy</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/omg/CORBA/portable/Delegate.html#get_policy(org.omg.CORBA.Object, int)">get_policy</A></B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> self, int policy_type)</CODE><BR> Returns the <code>Policy</code> object of the specified type which applies to this object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/omg/CORBA/portable/Delegate.html#hash(org.omg.CORBA.Object, int)">hash</A></B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> obj, int max)</CODE><BR> Returns an ORB-internal identifier (hashcode) for this object reference.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -