public final class RMIServerImpl_Stub extends RemoteStub implements RMIServer
ref| Constructor and Description |
|---|
RMIServerImpl_Stub(RemoteRef ref) |
| Modifier and Type | Method and Description |
|---|---|
String |
getVersion()
该连接器服务器了解的RMI连接器协议版本。
|
RMIConnection |
newClient(Object $param_Object_1)
通过此RMI连接器进行新的连接。
|
setRefpublic RMIServerImpl_Stub(RemoteRef ref)
public String getVersion() throws RemoteException
RMIServer复制
该连接器服务器了解的RMI连接器协议版本。 这是一个具有以下格式的字符串:
protocol-version implementation-name
protocol-version是由句点( . ) protocol-version的一系列两个或多个非负整数。 本文档描述的版本的实现必须在此处使用字符串1.0 。
协议版本后必须有一个空格,后跟执行名称。 实现名称的格式未指定。 建议包含一个实现版本号。 实现可以使用空字符串作为其实现名称,例如出于安全原因。
getVersion在接口
RMIServer
RemoteException - 如果在远程方法调用期间存在通信异常。
public RMIConnection newClient(Object $param_Object_1) throws IOException
RMIServer复制
通过此RMI连接器进行新的连接。 每个远程客户端都调用此方法来获取表示其连接的新RMI对象。
newClient在接口
RMIServer
$param_Object_1 - 此对象指定要传递到服务器的用户定义的凭据,以便在创建RMIConnection之前验证用户。
可以为null。
IOException - 如果新的客户端对象无法创建或导出,或者在远程方法调用期间是否存在通信异常。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.