org.apache.hadoop.ipc.protobuf
Class TestRpcServiceProtos.TestProtobufRpc2Proto

java.lang.Object
  extended by org.apache.hadoop.ipc.protobuf.TestRpcServiceProtos.TestProtobufRpc2Proto
All Implemented Interfaces:
com.google.protobuf.Service
Direct Known Subclasses:
TestRpcServiceProtos.TestProtobufRpc2Proto.Stub
Enclosing class:
TestRpcServiceProtos

public abstract static class TestRpcServiceProtos.TestProtobufRpc2Proto
extends Object
implements com.google.protobuf.Service

Protobuf service hadoop.common.TestProtobufRpc2Proto


Nested Class Summary
static interface TestRpcServiceProtos.TestProtobufRpc2Proto.BlockingInterface
           
static interface TestRpcServiceProtos.TestProtobufRpc2Proto.Interface
           
static class TestRpcServiceProtos.TestProtobufRpc2Proto.Stub
           
 
Constructor Summary
protected TestRpcServiceProtos.TestProtobufRpc2Proto()
           
 
Method Summary
 void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
           
abstract  void echo2(com.google.protobuf.RpcController controller, TestProtos.EchoRequestProto request, com.google.protobuf.RpcCallback<TestProtos.EchoResponseProto> done)
          rpc echo2(.hadoop.common.EchoRequestProto) returns (.hadoop.common.EchoResponseProto);
static com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
           
 com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
           
 com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
           
 com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
           
static TestRpcServiceProtos.TestProtobufRpc2Proto.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
           
static com.google.protobuf.BlockingService newReflectiveBlockingService(TestRpcServiceProtos.TestProtobufRpc2Proto.BlockingInterface impl)
           
static com.google.protobuf.Service newReflectiveService(TestRpcServiceProtos.TestProtobufRpc2Proto.Interface impl)
           
static TestRpcServiceProtos.TestProtobufRpc2Proto.Stub newStub(com.google.protobuf.RpcChannel channel)
           
abstract  void ping2(com.google.protobuf.RpcController controller, TestProtos.EmptyRequestProto request, com.google.protobuf.RpcCallback<TestProtos.EmptyResponseProto> done)
          rpc ping2(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto);
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRpcServiceProtos.TestProtobufRpc2Proto

protected TestRpcServiceProtos.TestProtobufRpc2Proto()
Method Detail

newReflectiveService

public static com.google.protobuf.Service newReflectiveService(TestRpcServiceProtos.TestProtobufRpc2Proto.Interface impl)

newReflectiveBlockingService

public static com.google.protobuf.BlockingService newReflectiveBlockingService(TestRpcServiceProtos.TestProtobufRpc2Proto.BlockingInterface impl)

ping2

public abstract void ping2(com.google.protobuf.RpcController controller,
                           TestProtos.EmptyRequestProto request,
                           com.google.protobuf.RpcCallback<TestProtos.EmptyResponseProto> done)
rpc ping2(.hadoop.common.EmptyRequestProto) returns (.hadoop.common.EmptyResponseProto);


echo2

public abstract void echo2(com.google.protobuf.RpcController controller,
                           TestProtos.EchoRequestProto request,
                           com.google.protobuf.RpcCallback<TestProtos.EchoResponseProto> done)
rpc echo2(.hadoop.common.EchoRequestProto) returns (.hadoop.common.EchoResponseProto);


getDescriptor

public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()

getDescriptorForType

public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Service

callMethod

public final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
                             com.google.protobuf.RpcController controller,
                             com.google.protobuf.Message request,
                             com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
Specified by:
callMethod in interface com.google.protobuf.Service

getRequestPrototype

public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
Specified by:
getRequestPrototype in interface com.google.protobuf.Service

getResponsePrototype

public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
Specified by:
getResponsePrototype in interface com.google.protobuf.Service

newStub

public static TestRpcServiceProtos.TestProtobufRpc2Proto.Stub newStub(com.google.protobuf.RpcChannel channel)

newBlockingStub

public static TestRpcServiceProtos.TestProtobufRpc2Proto.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.