Uses of Interface
ru.pathcreator.pyc.rpc.core.codec.MessageCodec
Packages that use MessageCodec
-
Uses of MessageCodec in ru.pathcreator.pyc.rpc.core
Methods in ru.pathcreator.pyc.rpc.core that return MessageCodecModifier and TypeMethodDescriptionRpcMethod.requestCodec()Возвращает codec запроса.RpcMethod.responseCodec()Возвращает codec ответа.Methods in ru.pathcreator.pyc.rpc.core with parameters of type MessageCodecModifier and TypeMethodDescription<Req,Resp> Resp RpcChannel.call(int requestMessageTypeId, int expectedResponseTypeId, Req request, MessageCodec<Req> reqCodec, MessageCodec<Resp> respCodec) Выполняет синхронный RPC-вызов с таймаутом и backpressure-политикой из конфигурации канала.<Req,Resp> Resp RpcChannel.call(int requestMessageTypeId, int expectedResponseTypeId, Req request, MessageCodec<Req> reqCodec, MessageCodec<Resp> respCodec, long timeout, TimeUnit unit) Выполняет синхронный RPC-вызов с явным таймаутом.<Req,Resp> Resp RpcChannel.call(int requestMessageTypeId, int expectedResponseTypeId, Req request, MessageCodec<Req> reqCodec, MessageCodec<Resp> respCodec, long timeoutNs, BackpressurePolicy policy) Выполняет синхронный RPC-вызов с явным таймаутом в наносекундах и политикой backpressure.static <Req,Resp> RpcMethod <Req, Resp> RpcMethod.of(int requestMessageTypeId, int responseMessageTypeId, MessageCodec<Req> requestCodec, MessageCodec<Resp> responseCodec) Создаёт typed-описание одного RPC метода.<Req,Resp> void RpcChannel.onRequest(int requestMessageTypeId, int responseMessageTypeId, MessageCodec<Req> reqCodec, MessageCodec<Resp> respCodec, RequestHandler<Req, Resp> handler) Регистрирует high-level обработчик с кодеками запроса и ответа.