如何在没有参考谷物接口的情况下调用 orleans 谷物方法?
how call orleans grain method without reference grain interface?
比如javaweb front可以根据Grain的接口名和方法参数调用Grain方法而不引用Grain接口?
来自奥尔良文档
In order to invoke a grain, a caller must know the grain interface
that the grain class implements that includes the method that the
caller wants to call and the unique identity (key) of the target
grain.
因此你的grain需要实现它的接口,这样它就可以通过GrainClient来访问。如果我正确理解这个模糊的问题。
比如javaweb front可以根据Grain的接口名和方法参数调用Grain方法而不引用Grain接口?
来自奥尔良文档
In order to invoke a grain, a caller must know the grain interface that the grain class implements that includes the method that the caller wants to call and the unique identity (key) of the target grain.
因此你的grain需要实现它的接口,这样它就可以通过GrainClient来访问。如果我正确理解这个模糊的问题。