Uses of Interface
com.alipay.remoting.RemotingCommand

Packages that use RemotingCommand
com.alipay.remoting   
com.alipay.remoting.rpc   
com.alipay.remoting.rpc.protocol   
 

Uses of RemotingCommand in com.alipay.remoting
 

Classes in com.alipay.remoting with type parameters of type RemotingCommand
 class AbstractRemotingProcessor<T extends RemotingCommand>
          Processor to process remoting command.
 interface RemotingProcessor<T extends RemotingCommand>
          Remoting processor processes remoting commands.
 

Methods in com.alipay.remoting with type parameters of type RemotingCommand
<T extends RemotingCommand>
T
CommandFactory.createConnectionClosedResponse(InetSocketAddress address, String message)
           
<T extends RemotingCommand>
T
CommandFactory.createExceptionResponse(int id, ResponseStatus status)
           
<T extends RemotingCommand>
T
CommandFactory.createExceptionResponse(int id, String errMsg)
           
<T extends RemotingCommand>
T
CommandFactory.createExceptionResponse(int id, Throwable t, String errMsg)
           
<T extends RemotingCommand>
T
CommandFactory.createRequestCommand(Object requestObject)
          create a request command with request object
<T extends RemotingCommand>
T
CommandFactory.createResponse(Object responseObject, RemotingCommand requestCmd)
          create a normal response with response object
<T extends RemotingCommand>
T
CommandFactory.createSendFailedResponse(InetSocketAddress address, Throwable throwable)
           
<T extends RemotingCommand>
T
CommandFactory.createTimeoutResponse(InetSocketAddress address)
           
 

Methods in com.alipay.remoting that return RemotingCommand
 RemotingCommand InvokeFuture.createConnectionClosedResponse(InetSocketAddress responseHost)
          Create a remoting command response when connection closed
protected  RemotingCommand BaseRemoting.invokeSync(Connection conn, RemotingCommand request, int timeoutMillis)
          Synchronous invocation
 RemotingCommand InvokeFuture.waitResponse()
          Wait response with unlimit timeout
 RemotingCommand InvokeFuture.waitResponse(long timeoutMillis)
          Wait response with timeout.
 

Methods in com.alipay.remoting with parameters of type RemotingCommand
protected abstract  InvokeFuture BaseRemoting.createInvokeFuture(Connection conn, RemotingCommand request, InvokeContext invokeContext, InvokeCallback invokeCallback)
          Create invoke future with InvokeContext.
protected abstract  InvokeFuture BaseRemoting.createInvokeFuture(RemotingCommand request, InvokeContext invokeContext)
          Create invoke future with InvokeContext.
<T extends RemotingCommand>
T
CommandFactory.createResponse(Object responseObject, RemotingCommand requestCmd)
          create a normal response with response object
protected  RemotingCommand BaseRemoting.invokeSync(Connection conn, RemotingCommand request, int timeoutMillis)
          Synchronous invocation
protected  void BaseRemoting.invokeWithCallback(Connection conn, RemotingCommand request, InvokeCallback invokeCallback, int timeoutMillis)
          Invocation with callback.
protected  InvokeFuture BaseRemoting.invokeWithFuture(Connection conn, RemotingCommand request, int timeoutMillis)
          Invocation with future returned.
protected  void BaseRemoting.oneway(Connection conn, RemotingCommand request)
          Oneway invocation.
 void InvokeFuture.putResponse(RemotingCommand response)
          Put the response to the future.
 io.netty.channel.ChannelFuture RemotingContext.writeAndFlush(RemotingCommand msg)
          Wrap the writeAndFlush method.
 

Uses of RemotingCommand in com.alipay.remoting.rpc
 

Classes in com.alipay.remoting.rpc that implement RemotingCommand
 class HeartbeatAckCommand
          Heartbeat ack.
 class HeartbeatCommand
          Heart beat.
 class RequestCommand
          Command of request.
 class ResponseCommand
          Command of response.
 class RpcCommand
          Remoting command.
 

Methods in com.alipay.remoting.rpc that return RemotingCommand
 RemotingCommand DefaultInvokeFuture.createConnectionClosedResponse(InetSocketAddress responseHost)
           
 RemotingCommand RpcCommandFactory.createConnectionClosedResponse(InetSocketAddress address, String message)
           
 RemotingCommand RpcCommandFactory.createSendFailedResponse(InetSocketAddress address, Throwable throwable)
           
protected  RemotingCommand RpcRemoting.toRemotingCommand(Object request, Connection conn, InvokeContext invokeContext, int timeoutMillis)
          Convert application request object to remoting request command.
 

Methods in com.alipay.remoting.rpc with parameters of type RemotingCommand
protected  InvokeFuture RpcRemoting.createInvokeFuture(Connection conn, RemotingCommand request, InvokeContext invokeContext, InvokeCallback invokeCallback)
           
protected  InvokeFuture RpcRemoting.createInvokeFuture(RemotingCommand request, InvokeContext invokeContext)
           
 RpcResponseCommand RpcCommandFactory.createResponse(Object responseObject, RemotingCommand requestCmd)
           
protected  void RpcClientRemoting.preProcessInvokeContext(InvokeContext invokeContext, RemotingCommand cmd, Connection connection)
           
protected  void RpcServerRemoting.preProcessInvokeContext(InvokeContext invokeContext, RemotingCommand cmd, Connection connection)
           
protected abstract  void RpcRemoting.preProcessInvokeContext(InvokeContext invokeContext, RemotingCommand cmd, Connection connection)
           
 void DefaultInvokeFuture.putResponse(RemotingCommand response)
           
 

Uses of RemotingCommand in com.alipay.remoting.rpc.protocol
 

Classes in com.alipay.remoting.rpc.protocol that implement RemotingCommand
 class RpcRequestCommand
          Request command for Rpc.
 class RpcResponseCommand
          Response command for Rpc.
 

Methods in com.alipay.remoting.rpc.protocol with parameters of type RemotingCommand
 void RpcHeartBeatProcessor.doProcess(RemotingContext ctx, RemotingCommand msg)
           
 void RpcResponseProcessor.doProcess(RemotingContext ctx, RemotingCommand cmd)
           
 void RpcRequestProcessor.sendResponseIfNecessary(RemotingContext ctx, byte type, RemotingCommand response)
          Send response using remoting context if necessary.
 



Copyright © 2018. All rights reserved.