Java Skeleton
Java代码
public interface Skeleton {
/**
* Unmarshals arguments, calls the actual remote object implementation,
* and marshals the return value or any exception.
*
* @param obj remote implementation to dispatch call to
* @param theCall object representing remote call
* @param opnum operation number
* @param hash stub/skeleton interface hash
* @exception java.lang.Exception if a general exception occurs.
* @since JDK1.1
* @deprecated no replacement
*/
@Deprecated
void dispatch(Remote obj, RemoteCall theCall, int opnum, long hash)
throws Exception;
/**
* Returns the operations supported by the skeleton.
* @return operations supported by skeleton
* @since JDK1.1
* @deprecated no replacement
*/
@Deprecated
Operation[] getOperations();
}
本文详细解析了Java中Skeleton接口的功能与用法,包括如何通过dispatch方法处理远程调用,以及获取由skeleton支持的操作。该接口在JDK1.1中引入,现已废弃。
141

被折叠的 条评论
为什么被折叠?



