由于每个代理可以直接对数据进行操作,因此可以节省在序列化和数据传输方面的所有开销,从而使您可以从计算并行化中受益。
Because an agent can work directly on the data, this removes all of the cost of serialization and data transfer, and enables you to benefit from parallelising the computation.
序列化允许将代理放在流中。
有时候,代理还需要追踪其他对象引用并手动序列化它们,例如Person的spouse。
The Proxy will also sometimes need to track down other object references and serialize them manually, such as Person's spouse.
我们不必担心被注入依赖的序列化问题,因为依赖都表示为序列化的代理,能自动完成序列化。
We do not have to worry about serialization of the injected dependencies because they are represented as serialized proxies and it is done automatically.
将位流转换为逻辑消息树(解析)以及将逻辑消息树转换回位流(序列化或编写)的代理组件称为解析器。
The component of the broker that converts a bit stream into a logical message tree (parsing), and a logical message tree back into a bit stream (serializing or writing), is called a parser.
这可能在与服务实现和客户代理一起使用时会引发运行时数据序列化错误。
This could cause run-time data serialization errors when used with service implementations and client proxies. Here are some recommendations to help avoid this problem.
从指定序列化上下文的指定代理项选择器开始,查找表示指定对象类型的代理项。
Finds the surrogate that represents the specified object's type, starting with the specified surrogate selector for the specified serialization context.
从指定序列化上下文的指定代理项选择器开始,查找表示指定对象类型的代理项。
Finds the surrogate that represents the specified object's type, starting with the specified surrogate selector for the specified serialization context.
应用推荐