Class ProtocolMetaInfoServerSideTranslatorPB

java.lang.Object
org.apache.hadoop.ipc.ProtocolMetaInfoServerSideTranslatorPB
All Implemented Interfaces:
org.apache.hadoop.ipc.protobuf.ProtocolInfoProtos.ProtocolInfoService.BlockingInterface, ProtocolMetaInfoPB

public class ProtocolMetaInfoServerSideTranslatorPB extends Object implements ProtocolMetaInfoPB
This class serves the requests for protocol versions and signatures by looking them up in the server registry.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.ipc.protobuf.ProtocolInfoProtos.GetProtocolSignatureResponseProto
    getProtocolSignature(org.apache.hadoop.thirdparty.protobuf.RpcController controller, org.apache.hadoop.ipc.protobuf.ProtocolInfoProtos.GetProtocolSignatureRequestProto request)
     
    org.apache.hadoop.ipc.protobuf.ProtocolInfoProtos.GetProtocolVersionsResponseProto
    getProtocolVersions(org.apache.hadoop.thirdparty.protobuf.RpcController controller, org.apache.hadoop.ipc.protobuf.ProtocolInfoProtos.GetProtocolVersionsRequestProto request)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProtocolMetaInfoServerSideTranslatorPB

      public ProtocolMetaInfoServerSideTranslatorPB(RPC.Server server)
  • Method Details

    • getProtocolVersions

      public org.apache.hadoop.ipc.protobuf.ProtocolInfoProtos.GetProtocolVersionsResponseProto getProtocolVersions(org.apache.hadoop.thirdparty.protobuf.RpcController controller, org.apache.hadoop.ipc.protobuf.ProtocolInfoProtos.GetProtocolVersionsRequestProto request) throws org.apache.hadoop.thirdparty.protobuf.ServiceException
      Specified by:
      getProtocolVersions in interface org.apache.hadoop.ipc.protobuf.ProtocolInfoProtos.ProtocolInfoService.BlockingInterface
      Throws:
      org.apache.hadoop.thirdparty.protobuf.ServiceException
    • getProtocolSignature

      public org.apache.hadoop.ipc.protobuf.ProtocolInfoProtos.GetProtocolSignatureResponseProto getProtocolSignature(org.apache.hadoop.thirdparty.protobuf.RpcController controller, org.apache.hadoop.ipc.protobuf.ProtocolInfoProtos.GetProtocolSignatureRequestProto request) throws org.apache.hadoop.thirdparty.protobuf.ServiceException
      Specified by:
      getProtocolSignature in interface org.apache.hadoop.ipc.protobuf.ProtocolInfoProtos.ProtocolInfoService.BlockingInterface
      Throws:
      org.apache.hadoop.thirdparty.protobuf.ServiceException