class ActorProxyImpl implements ActorProxy, InvocationHandler {

  @Override
  public <T> Mono<T> invokeActorMethod(String methodName, Object data, TypeRef<T> type) {
    return this.daprClient.invokeActorMethod(actorType, actorId.toString(), methodName, this.serialize(data))
          .filter(s -> s.length > 0)
          .map(s -> deserialize(s, type));
  }

    ActorProxyImpl(String actorType, ActorId actorId, DaprObjectSerializer serializer, DaprClient daprClient);

}