Accessing a TIBCO iProcess Objects Director
How you access a TIBCO iProcess Objects Director depends on whether you are using TIBCO iProcess Objects or TIBCO iProcess Server Objects, as follows:
TIBCO iProcess Objects
A TIBCO iProcess Objects client accesses TIBCO iProcess Objects Directors using one of the following methods:
| • | Auto-discovery UDP Broadcast The client can send out a UDP broadcast to auto-discover TIBCO iProcess Objects Directors on the LAN segment. By default, TIBCO iProcess Objects Directors listen for UDP broadcasts on UDP port 28001. You can change this for a TIBCO iProcess Objects Director using the UDP_SERVICE_NAME process attribute (see UDP_SERVICE_NAME). For each TIBCO iProcess Objects Director that responds to the broadcast, an SWNodeInfo object is added to the SWEnterprise.NodeInfos list. |
For more information about UDP broadcasts, see TIBCO iProcess Objects Programmer’s Guide.
For more information about directed UDP messages, see TIBCO iProcess Objects Programmer’s Guide.
For more information about manually creating an SWNodeInfo object, see TIBCO iProcess Objects Programmer’s Guide.
TIBCO iProcess Server Objects
A TIBCO iProcess Server Objects client accesses TIBCO iProcess Objects Directors using one of the following methods:
| • | Auto-discovery UDP Broadcast The client can send out a UDP broadcast to auto-discover TIBCO iProcess Objects Directors on the LAN segment by calling the getNodes method on sNodeManager. This method returns an array of vNode objects, one for each TIBCO iProcess Objects Director that responds to the UDP broadcast. By default, TIBCO iProcess Objects Directors listen for UDP broadcasts on UDP port 28001. You can change this for a TIBCO iProcess Objects Director using the UDP_SERVICE_NAME process attribute (see UDP_SERVICE_NAME). |
For more information about UDP broadcasts, see TIBCO iProcess Server Objects Programmer’s Guide.
| • | Directed UDP Message The client can issue a directed UDP message to a TIBCO iProcess Objects Director by calling the verifyNode method on sNodeManager. If TIBCO iProcess Objects Director to which the UDP message was directed responds, the method call returns a vNode object that represents that TIBCO iProcess Objects Director. By default, TIBCO iProcess Objects Directors listen for UDP messages on UDP port 28001. You can change this for a TIBCO iProcess Objects Director using the UDP_SERVICE_NAME process attribute (see UDP_SERVICE_NAME). |
For more information about directed UDP messages, see TIBCO iProcess Server Objects Programmer’s Guide.
| • | Manually Creating a vNodeId Object If you have all of the required information (node name, computer name, IP address, and TCP port), you can construct a vNodeId object that represents TIBCO iProcess Objects Director. The aIsDirector parameter in the vNodeId constructor must also be set to True to indicate that the object represents TIBCO iProcess Objects Director. |
For more information about manually creating an SWNodeInfo object, see TIBCO iProcess Server Objects Programmer’s Guide.