|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alipay.remoting.BaseRemoting
com.alipay.remoting.rpc.RpcRemoting
com.alipay.remoting.rpc.RpcServerRemoting
public class RpcServerRemoting
Rpc server remoting
| Field Summary |
|---|
| Fields inherited from class com.alipay.remoting.rpc.RpcRemoting |
|---|
addressParser, connectionManager |
| Constructor Summary | |
|---|---|
RpcServerRemoting(CommandFactory commandFactory)
default constructor |
|
RpcServerRemoting(CommandFactory commandFactory,
RemotingAddressParser addressParser,
DefaultConnectionManager connectionManager)
|
|
| Method Summary | |
|---|---|
Object |
invokeSync(Url url,
Object request,
InvokeContext invokeContext,
int timeoutMillis)
Synchronous rpc invocation. |
void |
invokeWithCallback(Url url,
Object request,
InvokeContext invokeContext,
InvokeCallback invokeCallback,
int timeoutMillis)
Rpc invocation with callback. |
RpcResponseFuture |
invokeWithFuture(Url url,
Object request,
InvokeContext invokeContext,
int timeoutMillis)
Rpc invocation with future returned. |
void |
oneway(Url url,
Object request,
InvokeContext invokeContext)
Oneway rpc invocation. |
protected void |
preProcessInvokeContext(InvokeContext invokeContext,
RemotingCommand cmd,
Connection connection)
|
| Methods inherited from class com.alipay.remoting.rpc.RpcRemoting |
|---|
createInvokeFuture, createInvokeFuture, invokeSync, invokeSync, invokeWithCallback, invokeWithCallback, invokeWithFuture, invokeWithFuture, oneway, oneway, toRemotingCommand |
| Methods inherited from class com.alipay.remoting.BaseRemoting |
|---|
getCommandFactory, invokeSync, invokeWithCallback, invokeWithFuture, oneway |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RpcServerRemoting(CommandFactory commandFactory)
public RpcServerRemoting(CommandFactory commandFactory,
RemotingAddressParser addressParser,
DefaultConnectionManager connectionManager)
addressParser - connectionManager - | Method Detail |
|---|
public Object invokeSync(Url url,
Object request,
InvokeContext invokeContext,
int timeoutMillis)
throws RemotingException,
InterruptedException
RpcRemoting
invokeSync in class RpcRemotingRemotingException
InterruptedExceptionRpcRemoting.invokeSync(com.alipay.remoting.Url, java.lang.Object, InvokeContext, int)
public void oneway(Url url,
Object request,
InvokeContext invokeContext)
throws RemotingException
RpcRemoting
oneway in class RpcRemotingRemotingExceptionRpcRemoting.oneway(com.alipay.remoting.Url, java.lang.Object, InvokeContext)
public RpcResponseFuture invokeWithFuture(Url url,
Object request,
InvokeContext invokeContext,
int timeoutMillis)
throws RemotingException
RpcRemoting
invokeWithFuture in class RpcRemotingRemotingExceptionRpcRemoting.invokeWithFuture(com.alipay.remoting.Url, java.lang.Object, InvokeContext, int)
public void invokeWithCallback(Url url,
Object request,
InvokeContext invokeContext,
InvokeCallback invokeCallback,
int timeoutMillis)
throws RemotingException
RpcRemoting
invokeWithCallback in class RpcRemotingRemotingExceptionRpcRemoting.invokeWithCallback(com.alipay.remoting.Url, java.lang.Object, InvokeContext, com.alipay.remoting.InvokeCallback, int)
protected void preProcessInvokeContext(InvokeContext invokeContext,
RemotingCommand cmd,
Connection connection)
preProcessInvokeContext in class RpcRemoting
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||