public interface VersionedProtocol
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getProtocolVersion(String protocol,
long clientVersion)
Return protocol version corresponding to protocol interface.
|
long getProtocolVersion(String protocol, long clientVersion) throws IOException
protocol - The classname of the protocol interfaceclientVersion - The version of the protocol that the client speaksIOExceptionCopyright © 2009 The Apache Software Foundation