< prev index next >

src/jdk.rmic/share/classes/sun/rmi/rmic/RemoteClass.java

Print this page




  94      *
  95      * A remote interface is any interface that extends Remote,
  96      * directly or indirectly.  The remote interfaces of a class
  97      * are the interfaces directly listed in either the class's
  98      * "implements" clause, or the "implements" clause of any
  99      * of its superclasses, that are remote interfaces.
 100      *
 101      * The order of the array returned is arbitrary, and some elements
 102      * may be superfluous (i.e., superinterfaces of other interfaces
 103      * in the array).
 104      */
 105     public ClassDefinition[] getRemoteInterfaces() {
 106         return remoteInterfaces.clone();
 107     }
 108 
 109     /**
 110      * Return an array of RemoteClass.Method objects representing all of
 111      * the remote methods implemented by this class, i.e. all of the
 112      * methods in the class's remote interfaces.
 113      *
 114      * The methods in the array are ordered according to the comparision
 115      * of the strings consisting of their method name followed by their
 116      * type signature, so each method's index in the array corresponds
 117      * to its "operation number" in the JDK 1.1 version of the
 118      * stub/skeleton protocol.
 119      */
 120     public Method[] getRemoteMethods() {
 121         return remoteMethods.clone();
 122     }
 123 
 124     /**
 125      * Return the "interface hash" used to match a stub/skeleton pair for
 126      * this class in the JDK 1.1 version of the stub/skeleton protocol.
 127      */
 128     public long getInterfaceHash() {
 129         return interfaceHash;
 130     }
 131 
 132     /**
 133      * Return string representation of this object, consisting of
 134      * the string "remote class " followed by the class name.




  94      *
  95      * A remote interface is any interface that extends Remote,
  96      * directly or indirectly.  The remote interfaces of a class
  97      * are the interfaces directly listed in either the class's
  98      * "implements" clause, or the "implements" clause of any
  99      * of its superclasses, that are remote interfaces.
 100      *
 101      * The order of the array returned is arbitrary, and some elements
 102      * may be superfluous (i.e., superinterfaces of other interfaces
 103      * in the array).
 104      */
 105     public ClassDefinition[] getRemoteInterfaces() {
 106         return remoteInterfaces.clone();
 107     }
 108 
 109     /**
 110      * Return an array of RemoteClass.Method objects representing all of
 111      * the remote methods implemented by this class, i.e. all of the
 112      * methods in the class's remote interfaces.
 113      *
 114      * The methods in the array are ordered according to the comparison
 115      * of the strings consisting of their method name followed by their
 116      * type signature, so each method's index in the array corresponds
 117      * to its "operation number" in the JDK 1.1 version of the
 118      * stub/skeleton protocol.
 119      */
 120     public Method[] getRemoteMethods() {
 121         return remoteMethods.clone();
 122     }
 123 
 124     /**
 125      * Return the "interface hash" used to match a stub/skeleton pair for
 126      * this class in the JDK 1.1 version of the stub/skeleton protocol.
 127      */
 128     public long getInterfaceHash() {
 129         return interfaceHash;
 130     }
 131 
 132     /**
 133      * Return string representation of this object, consisting of
 134      * the string "remote class " followed by the class name.


< prev index next >