摘要 |
PROBLEM TO BE SOLVED: To provide a programming framework which switches between local execution and remote execution of commands only by changing an external setting without absolutely changing command module. SOLUTION: The programming framework reads in a setting file 140 of a client 100. In the case where a command is dummy-executed in the determination in S905, the dummyExecute method of a cmd object is executed. In the case where the command is not dummy-executed and local-executed in the determination in S907, the execute method of the cmd object is executed. In the case of remote execution, the transfer method is called out via a network N with respect to an object of a Sever class 122 of a command server 200. The cmd object is designated as an argument of the transfer method, and the transfer method returns an object of a Command derived class as a return value via the network. This object is defined as the cmd object, and the cmd object which finished its execution is returned as the return value. COPYRIGHT: (C)2005,JPO&NCIPI
|