Interface ByteAccessor
@SPI(scope=FRAMEWORK)
public interface ByteAccessor
Extension of Byte Accessor, holding attributes as RpcInvocation objects
so that the decoded service can be used more flexibly
- Since:
- 3.2.0
-
Method Summary
Modifier and TypeMethodDescriptiongetRpcInvocation(Channel channel, Request req, InputStream is, byte proto) Get an enhanced DecodeableRpcInvocation subclass to allow custom decode.getRpcResult(Channel channel, Response res, InputStream is, Invocation invocation, byte proto) Get an enhanced DecodeableRpcResult subclass to allow custom decode.
-
Method Details
-
getRpcInvocation
Get an enhanced DecodeableRpcInvocation subclass to allow custom decode. The parameters are the same asDecodeableRpcInvocation -
getRpcResult
DecodeableRpcResult getRpcResult(Channel channel, Response res, InputStream is, Invocation invocation, byte proto) Get an enhanced DecodeableRpcResult subclass to allow custom decode. The parameters are the same asDecodeableRpcResult
-