We can use a pattern called Double Dispatch to pull out the variation into the subclasses in such a way that we don't break existing interface contracts.
我们可以使用称为双重分发的模式将变化推入子类中,通过这种方式,我们不需要破坏现有的接口定义。
A service has syntax, semantics, and QoS characteristics that all have to be modelled; formal interface contracts have to cover more than the Web Services Description Language (WSDL) does.
服务具有语法、语义和QoS特征,所有这些都必须进行建模;正式的接口契约必须涵盖的比web服务描述语言(WebServices Description Language, WSDL)的多。
Interface Contracts are used to specify conditions for interfaces.
接口契约为接口指定条件。
Interface Contracts are used to specify conditions for interfaces.
接口契约为接口指定条件。
应用推荐