class UscJsonRpcHandler extends SimpleChannelInboundHandler<ByteBufHolder> implements UscJsonRpcRequestVisitor {

    @Override
    public JsonRpcResultOrError visit(EthUnsubscribeRequest request, ChannelHandlerContext ctx) {
        boolean unsubscribed = emitter.unsubscribe(request.getParams().getSubscriptionId());
        return new JsonRpcBooleanResult(unsubscribed);
    }

    public  UscJsonRpcHandler(EthSubscriptionNotificationEmitter emitter, JsonRpcSerializer serializer);

}