@Deprecated public interface Skeleton
Skeleton 接口仅供 RMI 实现单独使用。
由 rmic stub 编译器生成的每个 1.1 版本的 skeleton 类(和使用 rmic -vcompat 的 1.2 生成的 1.1 版本兼容 skeleton)都可实现此接口。远程对象的 skeleton 是一个将调用指派给实际远程对象实现的服务器端实体。
| 方法摘要 | |
|---|---|
void |
dispatch(Remote obj, RemoteCall theCall, int opnum, long hash) 已过时。 无替代版本 |
Operation[] |
getOperations() 已过时。 无替代版本 |
| 方法详细信息 |
|---|
@Deprecated void dispatch(Remote obj, RemoteCall theCall, int opnum, long hash) throws Exception
obj - 要向其指派调用的远程实现
theCall - 表示远程调用的对象
opnum - 操作数
hash - stub/skeleton 接口哈希
Exception - 如果发生常见异常。
@Deprecated Operation[] getOperations()