public interface VersionedProtocol
Modifier and Type | Method and Description |
---|---|
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 speaksIOException
Copyright © 2010 The Apache Software Foundation