|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VersionedProtocol
Superclass of all protocols that use Hadoop RPC. Subclasses of this interface are also supposed to have a static final long versionID field.
Method Summary | |
---|---|
ProtocolSignature |
getProtocolSignature(String protocol,
long clientVersion,
int clientMethodsHash)
Return protocol version corresponding to protocol interface. |
long |
getProtocolVersion(String protocol,
long clientVersion)
Deprecated. |
Method Detail |
---|
@Deprecated long getProtocolVersion(String protocol, long clientVersion) throws IOException
protocol
- The classname of the protocol interfaceclientVersion
- The version of the protocol that the client speaks
IOException
- if any IO error occursProtocolSignature getProtocolSignature(String protocol, long clientVersion, int clientMethodsHash) throws IOException
protocol
- The classname of the protocol interfaceclientVersion
- The version of the protocol that the client speaksclientMethodsHash
- the hashcode of client protocol methods
IOException
for a default implementation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |