org.apache.hadoop.ha.proto
Class ZKFCProtocolProtos.ZKFCProtocolService

java.lang.Object
  extended by org.apache.hadoop.ha.proto.ZKFCProtocolProtos.ZKFCProtocolService
All Implemented Interfaces:
com.google.protobuf.Service
Direct Known Subclasses:
ZKFCProtocolProtos.ZKFCProtocolService.Stub
Enclosing class:
ZKFCProtocolProtos

public abstract static class ZKFCProtocolProtos.ZKFCProtocolService
extends Object
implements com.google.protobuf.Service


Nested Class Summary
static interface ZKFCProtocolProtos.ZKFCProtocolService.BlockingInterface
           
static interface ZKFCProtocolProtos.ZKFCProtocolService.Interface
           
static class ZKFCProtocolProtos.ZKFCProtocolService.Stub
           
 
Constructor Summary
protected ZKFCProtocolProtos.ZKFCProtocolService()
           
 
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 cedeActive(com.google.protobuf.RpcController controller, ZKFCProtocolProtos.CedeActiveRequestProto request, com.google.protobuf.RpcCallback<ZKFCProtocolProtos.CedeActiveResponseProto> done)
           
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)
           
abstract  void gracefulFailover(com.google.protobuf.RpcController controller, ZKFCProtocolProtos.GracefulFailoverRequestProto request, com.google.protobuf.RpcCallback<ZKFCProtocolProtos.GracefulFailoverResponseProto> done)
           
static ZKFCProtocolProtos.ZKFCProtocolService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
           
static com.google.protobuf.BlockingService newReflectiveBlockingService(ZKFCProtocolProtos.ZKFCProtocolService.BlockingInterface impl)
           
static com.google.protobuf.Service newReflectiveService(ZKFCProtocolProtos.ZKFCProtocolService.Interface impl)
           
static ZKFCProtocolProtos.ZKFCProtocolService.Stub newStub(com.google.protobuf.RpcChannel channel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZKFCProtocolProtos.ZKFCProtocolService

protected ZKFCProtocolProtos.ZKFCProtocolService()
Method Detail

newReflectiveService

public static com.google.protobuf.Service newReflectiveService(ZKFCProtocolProtos.ZKFCProtocolService.Interface impl)

newReflectiveBlockingService

public static com.google.protobuf.BlockingService newReflectiveBlockingService(ZKFCProtocolProtos.ZKFCProtocolService.BlockingInterface impl)

cedeActive

public abstract void cedeActive(com.google.protobuf.RpcController controller,
                                ZKFCProtocolProtos.CedeActiveRequestProto request,
                                com.google.protobuf.RpcCallback<ZKFCProtocolProtos.CedeActiveResponseProto> done)

gracefulFailover

public abstract void gracefulFailover(com.google.protobuf.RpcController controller,
                                      ZKFCProtocolProtos.GracefulFailoverRequestProto request,
                                      com.google.protobuf.RpcCallback<ZKFCProtocolProtos.GracefulFailoverResponseProto> done)

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 ZKFCProtocolProtos.ZKFCProtocolService.Stub newStub(com.google.protobuf.RpcChannel channel)

newBlockingStub

public static ZKFCProtocolProtos.ZKFCProtocolService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)


Copyright © 2013 Apache Software Foundation. All Rights Reserved.