All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ibc.core.channel.v1.MsgGrpc Maven / Gradle / Ivy

package ibc.core.channel.v1;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 * 
 * Msg defines the ibc/channel Msg service.
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.40.1)", comments = "Source: ibc/core/channel/v1/tx.proto") @io.grpc.stub.annotations.GrpcGenerated public final class MsgGrpc { private MsgGrpc() {} public static final String SERVICE_NAME = "ibc.core.channel.v1.Msg"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor getChannelOpenInitMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ChannelOpenInit", requestType = ibc.core.channel.v1.Tx.MsgChannelOpenInit.class, responseType = ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getChannelOpenInitMethod() { io.grpc.MethodDescriptor getChannelOpenInitMethod; if ((getChannelOpenInitMethod = MsgGrpc.getChannelOpenInitMethod) == null) { synchronized (MsgGrpc.class) { if ((getChannelOpenInitMethod = MsgGrpc.getChannelOpenInitMethod) == null) { MsgGrpc.getChannelOpenInitMethod = getChannelOpenInitMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChannelOpenInit")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgChannelOpenInit.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse.getDefaultInstance())) .setSchemaDescriptor(new MsgMethodDescriptorSupplier("ChannelOpenInit")) .build(); } } } return getChannelOpenInitMethod; } private static volatile io.grpc.MethodDescriptor getChannelOpenTryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ChannelOpenTry", requestType = ibc.core.channel.v1.Tx.MsgChannelOpenTry.class, responseType = ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getChannelOpenTryMethod() { io.grpc.MethodDescriptor getChannelOpenTryMethod; if ((getChannelOpenTryMethod = MsgGrpc.getChannelOpenTryMethod) == null) { synchronized (MsgGrpc.class) { if ((getChannelOpenTryMethod = MsgGrpc.getChannelOpenTryMethod) == null) { MsgGrpc.getChannelOpenTryMethod = getChannelOpenTryMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChannelOpenTry")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgChannelOpenTry.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse.getDefaultInstance())) .setSchemaDescriptor(new MsgMethodDescriptorSupplier("ChannelOpenTry")) .build(); } } } return getChannelOpenTryMethod; } private static volatile io.grpc.MethodDescriptor getChannelOpenAckMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ChannelOpenAck", requestType = ibc.core.channel.v1.Tx.MsgChannelOpenAck.class, responseType = ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getChannelOpenAckMethod() { io.grpc.MethodDescriptor getChannelOpenAckMethod; if ((getChannelOpenAckMethod = MsgGrpc.getChannelOpenAckMethod) == null) { synchronized (MsgGrpc.class) { if ((getChannelOpenAckMethod = MsgGrpc.getChannelOpenAckMethod) == null) { MsgGrpc.getChannelOpenAckMethod = getChannelOpenAckMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChannelOpenAck")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgChannelOpenAck.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse.getDefaultInstance())) .setSchemaDescriptor(new MsgMethodDescriptorSupplier("ChannelOpenAck")) .build(); } } } return getChannelOpenAckMethod; } private static volatile io.grpc.MethodDescriptor getChannelOpenConfirmMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ChannelOpenConfirm", requestType = ibc.core.channel.v1.Tx.MsgChannelOpenConfirm.class, responseType = ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getChannelOpenConfirmMethod() { io.grpc.MethodDescriptor getChannelOpenConfirmMethod; if ((getChannelOpenConfirmMethod = MsgGrpc.getChannelOpenConfirmMethod) == null) { synchronized (MsgGrpc.class) { if ((getChannelOpenConfirmMethod = MsgGrpc.getChannelOpenConfirmMethod) == null) { MsgGrpc.getChannelOpenConfirmMethod = getChannelOpenConfirmMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChannelOpenConfirm")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgChannelOpenConfirm.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse.getDefaultInstance())) .setSchemaDescriptor(new MsgMethodDescriptorSupplier("ChannelOpenConfirm")) .build(); } } } return getChannelOpenConfirmMethod; } private static volatile io.grpc.MethodDescriptor getChannelCloseInitMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ChannelCloseInit", requestType = ibc.core.channel.v1.Tx.MsgChannelCloseInit.class, responseType = ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getChannelCloseInitMethod() { io.grpc.MethodDescriptor getChannelCloseInitMethod; if ((getChannelCloseInitMethod = MsgGrpc.getChannelCloseInitMethod) == null) { synchronized (MsgGrpc.class) { if ((getChannelCloseInitMethod = MsgGrpc.getChannelCloseInitMethod) == null) { MsgGrpc.getChannelCloseInitMethod = getChannelCloseInitMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChannelCloseInit")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgChannelCloseInit.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse.getDefaultInstance())) .setSchemaDescriptor(new MsgMethodDescriptorSupplier("ChannelCloseInit")) .build(); } } } return getChannelCloseInitMethod; } private static volatile io.grpc.MethodDescriptor getChannelCloseConfirmMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ChannelCloseConfirm", requestType = ibc.core.channel.v1.Tx.MsgChannelCloseConfirm.class, responseType = ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getChannelCloseConfirmMethod() { io.grpc.MethodDescriptor getChannelCloseConfirmMethod; if ((getChannelCloseConfirmMethod = MsgGrpc.getChannelCloseConfirmMethod) == null) { synchronized (MsgGrpc.class) { if ((getChannelCloseConfirmMethod = MsgGrpc.getChannelCloseConfirmMethod) == null) { MsgGrpc.getChannelCloseConfirmMethod = getChannelCloseConfirmMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ChannelCloseConfirm")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgChannelCloseConfirm.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse.getDefaultInstance())) .setSchemaDescriptor(new MsgMethodDescriptorSupplier("ChannelCloseConfirm")) .build(); } } } return getChannelCloseConfirmMethod; } private static volatile io.grpc.MethodDescriptor getRecvPacketMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RecvPacket", requestType = ibc.core.channel.v1.Tx.MsgRecvPacket.class, responseType = ibc.core.channel.v1.Tx.MsgRecvPacketResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getRecvPacketMethod() { io.grpc.MethodDescriptor getRecvPacketMethod; if ((getRecvPacketMethod = MsgGrpc.getRecvPacketMethod) == null) { synchronized (MsgGrpc.class) { if ((getRecvPacketMethod = MsgGrpc.getRecvPacketMethod) == null) { MsgGrpc.getRecvPacketMethod = getRecvPacketMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RecvPacket")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgRecvPacket.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgRecvPacketResponse.getDefaultInstance())) .setSchemaDescriptor(new MsgMethodDescriptorSupplier("RecvPacket")) .build(); } } } return getRecvPacketMethod; } private static volatile io.grpc.MethodDescriptor getTimeoutMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Timeout", requestType = ibc.core.channel.v1.Tx.MsgTimeout.class, responseType = ibc.core.channel.v1.Tx.MsgTimeoutResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getTimeoutMethod() { io.grpc.MethodDescriptor getTimeoutMethod; if ((getTimeoutMethod = MsgGrpc.getTimeoutMethod) == null) { synchronized (MsgGrpc.class) { if ((getTimeoutMethod = MsgGrpc.getTimeoutMethod) == null) { MsgGrpc.getTimeoutMethod = getTimeoutMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Timeout")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgTimeout.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgTimeoutResponse.getDefaultInstance())) .setSchemaDescriptor(new MsgMethodDescriptorSupplier("Timeout")) .build(); } } } return getTimeoutMethod; } private static volatile io.grpc.MethodDescriptor getTimeoutOnCloseMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "TimeoutOnClose", requestType = ibc.core.channel.v1.Tx.MsgTimeoutOnClose.class, responseType = ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getTimeoutOnCloseMethod() { io.grpc.MethodDescriptor getTimeoutOnCloseMethod; if ((getTimeoutOnCloseMethod = MsgGrpc.getTimeoutOnCloseMethod) == null) { synchronized (MsgGrpc.class) { if ((getTimeoutOnCloseMethod = MsgGrpc.getTimeoutOnCloseMethod) == null) { MsgGrpc.getTimeoutOnCloseMethod = getTimeoutOnCloseMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TimeoutOnClose")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgTimeoutOnClose.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse.getDefaultInstance())) .setSchemaDescriptor(new MsgMethodDescriptorSupplier("TimeoutOnClose")) .build(); } } } return getTimeoutOnCloseMethod; } private static volatile io.grpc.MethodDescriptor getAcknowledgementMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Acknowledgement", requestType = ibc.core.channel.v1.Tx.MsgAcknowledgement.class, responseType = ibc.core.channel.v1.Tx.MsgAcknowledgementResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getAcknowledgementMethod() { io.grpc.MethodDescriptor getAcknowledgementMethod; if ((getAcknowledgementMethod = MsgGrpc.getAcknowledgementMethod) == null) { synchronized (MsgGrpc.class) { if ((getAcknowledgementMethod = MsgGrpc.getAcknowledgementMethod) == null) { MsgGrpc.getAcknowledgementMethod = getAcknowledgementMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Acknowledgement")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgAcknowledgement.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( ibc.core.channel.v1.Tx.MsgAcknowledgementResponse.getDefaultInstance())) .setSchemaDescriptor(new MsgMethodDescriptorSupplier("Acknowledgement")) .build(); } } } return getAcknowledgementMethod; } /** * Creates a new async stub that supports all call types for the service */ public static MsgStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public MsgStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new MsgStub(channel, callOptions); } }; return MsgStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static MsgBlockingStub newBlockingStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public MsgBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new MsgBlockingStub(channel, callOptions); } }; return MsgBlockingStub.newStub(factory, channel); } /** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static MsgFutureStub newFutureStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public MsgFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new MsgFutureStub(channel, callOptions); } }; return MsgFutureStub.newStub(factory, channel); } /** *
   * Msg defines the ibc/channel Msg service.
   * 
*/ public static abstract class MsgImplBase implements io.grpc.BindableService { /** *
     * ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit.
     * 
*/ public void channelOpenInit(ibc.core.channel.v1.Tx.MsgChannelOpenInit request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChannelOpenInitMethod(), responseObserver); } /** *
     * ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry.
     * 
*/ public void channelOpenTry(ibc.core.channel.v1.Tx.MsgChannelOpenTry request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChannelOpenTryMethod(), responseObserver); } /** *
     * ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck.
     * 
*/ public void channelOpenAck(ibc.core.channel.v1.Tx.MsgChannelOpenAck request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChannelOpenAckMethod(), responseObserver); } /** *
     * ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.
     * 
*/ public void channelOpenConfirm(ibc.core.channel.v1.Tx.MsgChannelOpenConfirm request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChannelOpenConfirmMethod(), responseObserver); } /** *
     * ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.
     * 
*/ public void channelCloseInit(ibc.core.channel.v1.Tx.MsgChannelCloseInit request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChannelCloseInitMethod(), responseObserver); } /** *
     * ChannelCloseConfirm defines a rpc handler method for
     * MsgChannelCloseConfirm.
     * 
*/ public void channelCloseConfirm(ibc.core.channel.v1.Tx.MsgChannelCloseConfirm request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChannelCloseConfirmMethod(), responseObserver); } /** *
     * RecvPacket defines a rpc handler method for MsgRecvPacket.
     * 
*/ public void recvPacket(ibc.core.channel.v1.Tx.MsgRecvPacket request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRecvPacketMethod(), responseObserver); } /** *
     * Timeout defines a rpc handler method for MsgTimeout.
     * 
*/ public void timeout(ibc.core.channel.v1.Tx.MsgTimeout request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTimeoutMethod(), responseObserver); } /** *
     * TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.
     * 
*/ public void timeoutOnClose(ibc.core.channel.v1.Tx.MsgTimeoutOnClose request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTimeoutOnCloseMethod(), responseObserver); } /** *
     * Acknowledgement defines a rpc handler method for MsgAcknowledgement.
     * 
*/ public void acknowledgement(ibc.core.channel.v1.Tx.MsgAcknowledgement request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAcknowledgementMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getChannelOpenInitMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ibc.core.channel.v1.Tx.MsgChannelOpenInit, ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse>( this, METHODID_CHANNEL_OPEN_INIT))) .addMethod( getChannelOpenTryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ibc.core.channel.v1.Tx.MsgChannelOpenTry, ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse>( this, METHODID_CHANNEL_OPEN_TRY))) .addMethod( getChannelOpenAckMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ibc.core.channel.v1.Tx.MsgChannelOpenAck, ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse>( this, METHODID_CHANNEL_OPEN_ACK))) .addMethod( getChannelOpenConfirmMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ibc.core.channel.v1.Tx.MsgChannelOpenConfirm, ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse>( this, METHODID_CHANNEL_OPEN_CONFIRM))) .addMethod( getChannelCloseInitMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ibc.core.channel.v1.Tx.MsgChannelCloseInit, ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse>( this, METHODID_CHANNEL_CLOSE_INIT))) .addMethod( getChannelCloseConfirmMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ibc.core.channel.v1.Tx.MsgChannelCloseConfirm, ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse>( this, METHODID_CHANNEL_CLOSE_CONFIRM))) .addMethod( getRecvPacketMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ibc.core.channel.v1.Tx.MsgRecvPacket, ibc.core.channel.v1.Tx.MsgRecvPacketResponse>( this, METHODID_RECV_PACKET))) .addMethod( getTimeoutMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ibc.core.channel.v1.Tx.MsgTimeout, ibc.core.channel.v1.Tx.MsgTimeoutResponse>( this, METHODID_TIMEOUT))) .addMethod( getTimeoutOnCloseMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ibc.core.channel.v1.Tx.MsgTimeoutOnClose, ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse>( this, METHODID_TIMEOUT_ON_CLOSE))) .addMethod( getAcknowledgementMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< ibc.core.channel.v1.Tx.MsgAcknowledgement, ibc.core.channel.v1.Tx.MsgAcknowledgementResponse>( this, METHODID_ACKNOWLEDGEMENT))) .build(); } } /** *
   * Msg defines the ibc/channel Msg service.
   * 
*/ public static final class MsgStub extends io.grpc.stub.AbstractAsyncStub { private MsgStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected MsgStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new MsgStub(channel, callOptions); } /** *
     * ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit.
     * 
*/ public void channelOpenInit(ibc.core.channel.v1.Tx.MsgChannelOpenInit request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getChannelOpenInitMethod(), getCallOptions()), request, responseObserver); } /** *
     * ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry.
     * 
*/ public void channelOpenTry(ibc.core.channel.v1.Tx.MsgChannelOpenTry request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getChannelOpenTryMethod(), getCallOptions()), request, responseObserver); } /** *
     * ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck.
     * 
*/ public void channelOpenAck(ibc.core.channel.v1.Tx.MsgChannelOpenAck request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getChannelOpenAckMethod(), getCallOptions()), request, responseObserver); } /** *
     * ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.
     * 
*/ public void channelOpenConfirm(ibc.core.channel.v1.Tx.MsgChannelOpenConfirm request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getChannelOpenConfirmMethod(), getCallOptions()), request, responseObserver); } /** *
     * ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.
     * 
*/ public void channelCloseInit(ibc.core.channel.v1.Tx.MsgChannelCloseInit request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getChannelCloseInitMethod(), getCallOptions()), request, responseObserver); } /** *
     * ChannelCloseConfirm defines a rpc handler method for
     * MsgChannelCloseConfirm.
     * 
*/ public void channelCloseConfirm(ibc.core.channel.v1.Tx.MsgChannelCloseConfirm request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getChannelCloseConfirmMethod(), getCallOptions()), request, responseObserver); } /** *
     * RecvPacket defines a rpc handler method for MsgRecvPacket.
     * 
*/ public void recvPacket(ibc.core.channel.v1.Tx.MsgRecvPacket request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRecvPacketMethod(), getCallOptions()), request, responseObserver); } /** *
     * Timeout defines a rpc handler method for MsgTimeout.
     * 
*/ public void timeout(ibc.core.channel.v1.Tx.MsgTimeout request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getTimeoutMethod(), getCallOptions()), request, responseObserver); } /** *
     * TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.
     * 
*/ public void timeoutOnClose(ibc.core.channel.v1.Tx.MsgTimeoutOnClose request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getTimeoutOnCloseMethod(), getCallOptions()), request, responseObserver); } /** *
     * Acknowledgement defines a rpc handler method for MsgAcknowledgement.
     * 
*/ public void acknowledgement(ibc.core.channel.v1.Tx.MsgAcknowledgement request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getAcknowledgementMethod(), getCallOptions()), request, responseObserver); } } /** *
   * Msg defines the ibc/channel Msg service.
   * 
*/ public static final class MsgBlockingStub extends io.grpc.stub.AbstractBlockingStub { private MsgBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected MsgBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new MsgBlockingStub(channel, callOptions); } /** *
     * ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit.
     * 
*/ public ibc.core.channel.v1.Tx.MsgChannelOpenInitResponse channelOpenInit(ibc.core.channel.v1.Tx.MsgChannelOpenInit request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getChannelOpenInitMethod(), getCallOptions(), request); } /** *
     * ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry.
     * 
*/ public ibc.core.channel.v1.Tx.MsgChannelOpenTryResponse channelOpenTry(ibc.core.channel.v1.Tx.MsgChannelOpenTry request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getChannelOpenTryMethod(), getCallOptions(), request); } /** *
     * ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck.
     * 
*/ public ibc.core.channel.v1.Tx.MsgChannelOpenAckResponse channelOpenAck(ibc.core.channel.v1.Tx.MsgChannelOpenAck request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getChannelOpenAckMethod(), getCallOptions(), request); } /** *
     * ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.
     * 
*/ public ibc.core.channel.v1.Tx.MsgChannelOpenConfirmResponse channelOpenConfirm(ibc.core.channel.v1.Tx.MsgChannelOpenConfirm request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getChannelOpenConfirmMethod(), getCallOptions(), request); } /** *
     * ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.
     * 
*/ public ibc.core.channel.v1.Tx.MsgChannelCloseInitResponse channelCloseInit(ibc.core.channel.v1.Tx.MsgChannelCloseInit request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getChannelCloseInitMethod(), getCallOptions(), request); } /** *
     * ChannelCloseConfirm defines a rpc handler method for
     * MsgChannelCloseConfirm.
     * 
*/ public ibc.core.channel.v1.Tx.MsgChannelCloseConfirmResponse channelCloseConfirm(ibc.core.channel.v1.Tx.MsgChannelCloseConfirm request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getChannelCloseConfirmMethod(), getCallOptions(), request); } /** *
     * RecvPacket defines a rpc handler method for MsgRecvPacket.
     * 
*/ public ibc.core.channel.v1.Tx.MsgRecvPacketResponse recvPacket(ibc.core.channel.v1.Tx.MsgRecvPacket request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRecvPacketMethod(), getCallOptions(), request); } /** *
     * Timeout defines a rpc handler method for MsgTimeout.
     * 
*/ public ibc.core.channel.v1.Tx.MsgTimeoutResponse timeout(ibc.core.channel.v1.Tx.MsgTimeout request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTimeoutMethod(), getCallOptions(), request); } /** *
     * TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.
     * 
*/ public ibc.core.channel.v1.Tx.MsgTimeoutOnCloseResponse timeoutOnClose(ibc.core.channel.v1.Tx.MsgTimeoutOnClose request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTimeoutOnCloseMethod(), getCallOptions(), request); } /** *
     * Acknowledgement defines a rpc handler method for MsgAcknowledgement.
     * 
*/ public ibc.core.channel.v1.Tx.MsgAcknowledgementResponse acknowledgement(ibc.core.channel.v1.Tx.MsgAcknowledgement request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAcknowledgementMethod(), getCallOptions(), request); } } /** *
   * Msg defines the ibc/channel Msg service.
   * 
*/ public static final class MsgFutureStub extends io.grpc.stub.AbstractFutureStub { private MsgFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected MsgFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new MsgFutureStub(channel, callOptions); } /** *
     * ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture channelOpenInit( ibc.core.channel.v1.Tx.MsgChannelOpenInit request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getChannelOpenInitMethod(), getCallOptions()), request); } /** *
     * ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture channelOpenTry( ibc.core.channel.v1.Tx.MsgChannelOpenTry request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getChannelOpenTryMethod(), getCallOptions()), request); } /** *
     * ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture channelOpenAck( ibc.core.channel.v1.Tx.MsgChannelOpenAck request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getChannelOpenAckMethod(), getCallOptions()), request); } /** *
     * ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture channelOpenConfirm( ibc.core.channel.v1.Tx.MsgChannelOpenConfirm request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getChannelOpenConfirmMethod(), getCallOptions()), request); } /** *
     * ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture channelCloseInit( ibc.core.channel.v1.Tx.MsgChannelCloseInit request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getChannelCloseInitMethod(), getCallOptions()), request); } /** *
     * ChannelCloseConfirm defines a rpc handler method for
     * MsgChannelCloseConfirm.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture channelCloseConfirm( ibc.core.channel.v1.Tx.MsgChannelCloseConfirm request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getChannelCloseConfirmMethod(), getCallOptions()), request); } /** *
     * RecvPacket defines a rpc handler method for MsgRecvPacket.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture recvPacket( ibc.core.channel.v1.Tx.MsgRecvPacket request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRecvPacketMethod(), getCallOptions()), request); } /** *
     * Timeout defines a rpc handler method for MsgTimeout.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture timeout( ibc.core.channel.v1.Tx.MsgTimeout request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTimeoutMethod(), getCallOptions()), request); } /** *
     * TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture timeoutOnClose( ibc.core.channel.v1.Tx.MsgTimeoutOnClose request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTimeoutOnCloseMethod(), getCallOptions()), request); } /** *
     * Acknowledgement defines a rpc handler method for MsgAcknowledgement.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture acknowledgement( ibc.core.channel.v1.Tx.MsgAcknowledgement request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAcknowledgementMethod(), getCallOptions()), request); } } private static final int METHODID_CHANNEL_OPEN_INIT = 0; private static final int METHODID_CHANNEL_OPEN_TRY = 1; private static final int METHODID_CHANNEL_OPEN_ACK = 2; private static final int METHODID_CHANNEL_OPEN_CONFIRM = 3; private static final int METHODID_CHANNEL_CLOSE_INIT = 4; private static final int METHODID_CHANNEL_CLOSE_CONFIRM = 5; private static final int METHODID_RECV_PACKET = 6; private static final int METHODID_TIMEOUT = 7; private static final int METHODID_TIMEOUT_ON_CLOSE = 8; private static final int METHODID_ACKNOWLEDGEMENT = 9; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, io.grpc.stub.ServerCalls.ServerStreamingMethod, io.grpc.stub.ServerCalls.ClientStreamingMethod, io.grpc.stub.ServerCalls.BidiStreamingMethod { private final MsgImplBase serviceImpl; private final int methodId; MethodHandlers(MsgImplBase serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CHANNEL_OPEN_INIT: serviceImpl.channelOpenInit((ibc.core.channel.v1.Tx.MsgChannelOpenInit) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CHANNEL_OPEN_TRY: serviceImpl.channelOpenTry((ibc.core.channel.v1.Tx.MsgChannelOpenTry) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CHANNEL_OPEN_ACK: serviceImpl.channelOpenAck((ibc.core.channel.v1.Tx.MsgChannelOpenAck) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CHANNEL_OPEN_CONFIRM: serviceImpl.channelOpenConfirm((ibc.core.channel.v1.Tx.MsgChannelOpenConfirm) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CHANNEL_CLOSE_INIT: serviceImpl.channelCloseInit((ibc.core.channel.v1.Tx.MsgChannelCloseInit) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CHANNEL_CLOSE_CONFIRM: serviceImpl.channelCloseConfirm((ibc.core.channel.v1.Tx.MsgChannelCloseConfirm) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RECV_PACKET: serviceImpl.recvPacket((ibc.core.channel.v1.Tx.MsgRecvPacket) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TIMEOUT: serviceImpl.timeout((ibc.core.channel.v1.Tx.MsgTimeout) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TIMEOUT_ON_CLOSE: serviceImpl.timeoutOnClose((ibc.core.channel.v1.Tx.MsgTimeoutOnClose) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_ACKNOWLEDGEMENT: serviceImpl.acknowledgement((ibc.core.channel.v1.Tx.MsgAcknowledgement) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); } } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public io.grpc.stub.StreamObserver invoke( io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { default: throw new AssertionError(); } } } private static abstract class MsgBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { MsgBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return ibc.core.channel.v1.Tx.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("Msg"); } } private static final class MsgFileDescriptorSupplier extends MsgBaseDescriptorSupplier { MsgFileDescriptorSupplier() {} } private static final class MsgMethodDescriptorSupplier extends MsgBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; MsgMethodDescriptorSupplier(String methodName) { this.methodName = methodName; } @java.lang.Override public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { return getServiceDescriptor().findMethodByName(methodName); } } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (MsgGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new MsgFileDescriptorSupplier()) .addMethod(getChannelOpenInitMethod()) .addMethod(getChannelOpenTryMethod()) .addMethod(getChannelOpenAckMethod()) .addMethod(getChannelOpenConfirmMethod()) .addMethod(getChannelCloseInitMethod()) .addMethod(getChannelCloseConfirmMethod()) .addMethod(getRecvPacketMethod()) .addMethod(getTimeoutMethod()) .addMethod(getTimeoutOnCloseMethod()) .addMethod(getAcknowledgementMethod()) .build(); } } } return result; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy