You can't narrow an object for use unless the local environment knows what the class looks like.
除非环境知道这个类是什么样的,否则您不能窄化一个对象以使用它。
When you expose an object tree as a CherryPy URL space, the assumption goes the other way: Unless you explicitly label a method as exposed, it isn't served to outside users.
当您将一个对象树暴露为一个CherryPyURL空间时,假设是另一种情形:除非您显性地将方法标记为暴露,否则它不会为外面的用户提供服务。
At this point, your second appliance object should be created successfully, unless you see errors in the Tasks view.
这时,除非您在Tasks视图上看到有错误,否则您的第二个设备就已经成功创建了。
Unless you're specifically using XML in your request, or the server is sending you a response in XML, there's nothing but plain old Http used in the XMLHttpRequest object.
除了在请求中明确使用XML,或者服务器用XML发送响应之外,XMLHttpRequest对象使用的只是普普通通的HTTP。
At this point, your appliance object has been created successfully, unless you see errors in the Tasks view.
这时,除非您在Tasks视图上看到有错误,否则您的设备就已经成功创建了。
The above interaction of repeatedly sending the same message to the same object is not very useful, unless you need to document some kind of polling scenario.
上面的交互中,重复给同一个对象发送相同的消息没有多大的用处,除非你需要写一些调查场景。
Don't make a variable or object global unless you absolutely have to, which is almost never.
不要让一个变量或对象的全球除非你绝对有必要,这是几乎从来没有。
Object data locking is generally per-object. Well, unless you don't have huge scalability issues, in which case you may have some external bigger lock (extreme case: one single global lock).
对象数据保护一般是一个对象拥有一个锁,假设你没有海量扩展性问题,不然你需要一些外部大一点的锁(极端的例子,一个对象一个全局锁)。
Even though I could gratify every caprice and lay my hands on every object of desire, I would not go into rapture, unless with you in my life.
除非生命中有你,否则,即使能恣意妄为,能染指任何想要的,我也不会快乐。
Even though I could gratify every caprice and lay my hands on every object of desire, I would not go into rapture, unless with you in my life.
除非生命中有你,否则,即使能恣意妄为,能染指任何想要的,我也不会快乐。
应用推荐