OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/J
An RPC that uses the scheduler direct facility constitutes a service request that can be executed from a Java application or servlet. It cannot be executed from a Java applet due to security limitations.
This section explains the RPC flow that uses the scheduler direct facility and the definition necessary for distributing the service request destination schedulers among RPCs.
To issue an RPC that uses the scheduler direct facility, specify dcscddirect=Y in the TP1/Client/J environment definition. Also specify the dchost and dcscdport operands in the JP1/Software Distribution Client environment definition or specify the SCD server (schedule server) using the setDchost method. Before calling an rpcCall method, you must call an rpcOpen method. At the end of the CUP, you must call an rpcClose method.
The following figure shows the flow of an RPC service request using the scheduler direct facility.
Figure 2-6 Flow of an RPC service request using the scheduler direct facility
When you use this facility, you cannot issue an RPC to an SPP that receives requests from a socket. Furthermore, if you use this facility with the dccltrpcmaxmsgsize operand specified in the TP1/Client/J environment definition, an error may occur at the communication destination TP1/Server node.
When RPCs use the scheduler direct facility, you can distribute the service request destination schedulers among RPCs by switching the RPC in the round-robin mode. To distribute the service request destination schedulers among RPCs, specify dcscdhostchange=Y in the TP1/Client/J environment definition.
All Rights Reserved. Copyright (C) 2006, 2009, Hitachi, Ltd.