public static class RPC.VersionMismatch extends IOException
构造器和说明 |
---|
RPC.VersionMismatch(String interfaceName,
long clientVersion,
long serverVersion)
Create a version mismatch exception
|
限定符和类型 | 方法和说明 |
---|---|
long |
getClientVersion()
Get the client's preferred version
|
String |
getInterfaceName()
Get the interface name
|
long |
getServerVersion()
Get the server's agreed to version.
|
public RPC.VersionMismatch(String interfaceName, long clientVersion, long serverVersion)
interfaceName
- the name of the protocol mismatchclientVersion
- the client's version of the protocolserverVersion
- the server's version of the protocolpublic String getInterfaceName()
public long getClientVersion()
public long getServerVersion()
Copyright © 2009 The Apache Software Foundation