When no nested functions are involved, the scope chain is the only reference to the call object.
如果不涉及到内嵌函数,这个作用域链是唯一引用到调用对象的。
Next, you create the Service and Call objects and start setting the properties of the Call object.
接下来,您要创建Service和Call对象并开始设置Call对象的属性。
With JAX-RPC, the Call object must be configured to explicitly invoke a particular operation from the WSDL.
对于JAX - RPC,必须配置Call对象来显式地从WSDL调用特定操作。
Listing 2 contains a complete client main class that calls Listing 1's HelloWorld service using the call object.
清单2中给出了使用Call对象调用清单1的HelloWorld服务的完整客户机主类。
If the nested function is used only within the outer function, however, the only reference to the nested function is in the call object.
如果内嵌函数只是在外部函数中使用到,那么对内嵌函数的唯一引用就是调用对象自己。
In this case, there is an external reference to the nested function, and the nested function retains its reference to the call object of the outer function.
如果内嵌函数只是在外部函数中使用到,那么对内嵌函数的唯一引用就是调用对象自己。
The solution, of course, is to put the code into a function and then invoke the function. This way, variables are defined in the call object of the function.
当然解决方案就是把这代码放到一个函数中,然后调用这个函数。这样,变量就定义在了函数的调用对象中了。
The client creates an instance of the "Call" object of the Axis client, and sets the target endpoint address in the Call object with the address of the web service endpoint.
客户机创建Axis客户机的“Call”对象的实例,并将Call对象中的目标端点地址设置为Web服务端点的地址。
When you use a closure, remember that the call object of the enclosing function, including all function arguments and local variables, will last as long as the closure does.
当你使用闭包时,记得包含函数的调用对象,包括所有的函数参数和本地变量,会有跟闭包一样的存活时期。
For every object in the call flow, there can only be one other object connected to it.
对于调用流中的每个对象,只能有一个其他对象连接到它。
If the error resulted from a call on the database object, you would invoke those methods on the database object instead.
如果错误是由于调用数据库对象而产生的,那么可以在那个数据库对象上调用上述两个方法。
A virtual method invocation, for example, involves looking at the class of the receiver object for the call to discover which actual target implements the virtual method for the receiver object.
例如,一个虚方法调用需要查看接收方对象的类调用,以便找出哪个实际目标实现了接收方对象的虚方法。
Calling SOAP methods is then as simple as constructing the appropriate parameters, as specified in the WSDL and described in the API documentation, and making the method call on the proxy object.
这样一来,正如WSDL中所指定的和API文档中所描述的一样,调用SOAP方法就与构造合适参数并在代理对象上调用方法一样简单了。
Incorrect objects: Using the address, it is possible to check that methods are being invoked on the desired object by matching to the address on the constructor call for that object.
错误对象:使用地址,通过与对象的构建函数调用的地址进行比对,可以检查出是不是在正确的对象上调用方法。
To perform a method on a D-BUS object, you send the object a method call message.
要执行d -BUS对象的方法,您需要向对象发送一个方法调用消息。
But the event message told me the User ID that generated the error, the API call that failed, the object that was the target of the API call, and the options that were used.
但事件消息能告诉我生成错误的用户ID、失败的API调用、API调用的目标对象以及所使用的选项。
The event message will tell you the user ID that made the failing call, the object that failed, the API call made against that object, and the options used in the API call.
事件消息会通知您造成调用失败的用户ID、失败对象、针对该对象的API 调用以及 API 调用中使用的操作。
The "Call" object allows you to set HTTP user ID and password for basic auth, and also similar methods to cater for intermediate HTTP proxies, if they exist.
“Call”对象允许您为基本认证设置HTTP用户标识和密码,以及中间 HTTP代理(如果它们存在的话)所需的类似方法。
When you made the call to the server using the XMLHttpRequest object, you registered a response handler.
使用XMLHttpRequest对象请求服务器的时候注册了一个响应处理程序。
The call to registry.getComponent() returns the registered object of the appropriate class if it can; otherwise, it returns a false value to allow testing.
如果调用registry.getComponent() 成功,则这次调用会返回对应类的已注册对象,否则就返回一个错误值以允许进行测试。
The data structure accepts the visitor object and will call its visit method for every entry in the data structure.
该数据结构接受visitor对象,并对数据结构中的每一项调用其visit方法。
The temperature object will call the getTemp method on the xmethods-Temperature Web service on the machine defined in the URL.
这个temperature对象将调用xmethods-TemperatureWeb服务的 getTemp方法,这个服务位于由URL定义的机器上。
You parse the document in the onreadystatechange function of the XMLHttpRequest object used to make the Ajax call.
您解析用于进行Ajax调用的XMLHttpRequest对象的onreadystatechange函数中的文档。
This object needs to be initialized by the call pthread_attr_init() before any attributes are set. The attribute object is destroyed using the call pthread_attr_destroy()
在设置任何属性之前,需要通过调用 pthread_attr_init() 来初始化这个对象。
In this pattern, an object (the proxy) handles all access to another object (which, for lack of a better name, I'll call the real object).
这种模式中,一个对象(代理)处理对另一个对象(因为没有更好的名称,暂时称之为实际对象)的访问。
Therefore, for every object in the call flow, there can only be one other object connected to it.
因此,对于调用流中的每个对象,都可以只有另外一个对象连接到其上。
Or in other words, before the first call is made to the UDF an object of the class is created and kept until after the last call.
或者,换句话说,在第一次调用udf之前,就创建该类的一个对象,并且一直保留到最后一次调用这个UDF之后。
At the end of the hook method, I invoke the original method call on the decorated object using my new argument list.
在钩子方法的结束部分,我使用新参数列表对修饰对象调用原始方法。
After the object reference is obtained, the client application can call methods on that object as if that object was a local one.
获取对象引用后,客户端应用程序可以调用该对象上的方法,该对象就好像是本地对象。
After the object reference is obtained, the client application can call methods on that object as if that object was a local one.
获取对象引用后,客户端应用程序可以调用该对象上的方法,该对象就好像是本地对象。
应用推荐