An ORB would receive an invocation message to invoke a specific method for a registered object.
OR b将收到一条调用消息,来为注册的对象调用一个特定的方法。
The IOR is critical to IIOP and any client that wants to invoke a method on an object will send a Request message to the host and port address detailed in the IOR.
IOR对于IIOP是至关重要的,任何要对某个对象调用方法的客户机都要将“请求”消息发送到IOR中详细说明的主机和端口地址。
The pattern has been easy enough: instantiate an object of type TextTestRunner, add tests and the outputter to it, and then invoke the run method.
这种方式非常简便:实例化一个TextTestRunner类型的对象,在其中添加测试和输出器,然后调用 run 方法。
As in Listing 14, invoke the execute method of the HttpClient, with the HttpGet method as an argument, to retrieve the HttpResponse object.
如清单14清单14所示,调用HttpClient的execute方法,其中HttpGet方法作为参数,以检索HttpResponse对象。
A timer is an object that can be set to invoke a method after the specified period of time elapses.
计时器(timer)是一个对象,通过设置计时器,可以在指定时间段过后调用某个方法。
Note that the invoke() method is overridden to either take an Object instance, as in Listing 4, or a Class, in the case that the desired private method is also static.
请注意invoke()方法被覆盖成可以接受一个Object实例(如清单4 所示)或一个Class(这时期望的private 方法也是 static 的)。
The invoke() method returns an Object, hence the cast to a String.
invoke()方法返回一个Object,所以要转换成 String。
Inheritance can make debugging difficult because when you invoke a method on an object, it might be hard to figure out which method will be invoked.
继承可以让调试变得很夸你呢,因为你调用某个对象中的某个方法的时候,很难确定到底是调用的哪一个方法。
RMI uses an object oriented paradigm where the user needs to know the object and the method of the object he needs to invoke. In comparison, RPC isn't object oriented and doesn't deal with objects.
两者的主要不同是他们的使用方式或者称作范式,RMI使用面向对象的范式,也就是用户需要知道他调用的对象和对象中的方法;
RMI uses an object oriented paradigm where the user needs to know the object and the method of the object he needs to invoke. In comparison, RPC isn't object oriented and doesn't deal with objects.
两者的主要不同是他们的使用方式或者称作范式,RMI使用面向对象的范式,也就是用户需要知道他调用的对象和对象中的方法;
应用推荐