Liferay 7.0-ce-b4

com.liferay.portal.fabric.netty.rpc
Class RPCRequest<T extends Serializable>

java.lang.Object
  extended by com.liferay.portal.fabric.netty.rpc.RPCSerializable
      extended by com.liferay.portal.fabric.netty.rpc.RPCRequest<T>
All Implemented Interfaces:
Serializable

public class RPCRequest<T extends Serializable>
extends RPCSerializable

See Also:
Serialized Form

Nested Class Summary
protected static class RPCRequest.LogErrorFutureListener
           
 
Field Summary
 
Fields inherited from class com.liferay.portal.fabric.netty.rpc.RPCSerializable
id
 
Constructor Summary
RPCRequest(long id, RPCCallable<T> rpcCallable)
           
 
Method Summary
 void execute(io.netty.channel.Channel channel)
           
protected  void sendRPCResponse(io.netty.channel.Channel channel, RPCResponse<T> rpcResponse)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RPCRequest

public RPCRequest(long id,
                  RPCCallable<T> rpcCallable)
Method Detail

execute

public void execute(io.netty.channel.Channel channel)
Specified by:
execute in class RPCSerializable

toString

public String toString()
Overrides:
toString in class Object

sendRPCResponse

protected void sendRPCResponse(io.netty.channel.Channel channel,
                               RPCResponse<T> rpcResponse)

Liferay 7.0-ce-b4