Director-Related Properties and Methods

The following subsections described the Director-related properties and methods for TIBCO iProcess Objects and TIBCO iProcess Server Objects.

TIBCO iProcess Objects

An SWNodeInfo object that represents TIBCO iProcess Objects Director contains properties and methods that provide information about that instance of the Director.

ClientCnt  The number of TIBCO iProcess Objects Servers that the Director knew about when the SWNodeInfo object was obtained.
ClusterId  This property is used to uniquely identify the node to which the Director is associated. It consists of the "client/server" RPC port number found in the engines' swdefs file and the machine name on which the database is installed.
ComputerName   The name of the machine on which TIBCO iProcess Objects Director is installed.
DirectorNodeInfos  Returns a list of SWNodeInfo objects, one for each TIBCO iProcess Objects Server the Director knows about. This list is updated dynamically as TIBCO iProcess Objects Servers are added to or removed from the process_config table.

Note: If there is an SWNodeInfo object in this list that represents a TIBCO iProcess Objects Server that has a status other than swAvailable, the following properties on that SWNodeInfo object returns an empty string: SWEOSrvVersion, SWEOSrvName, SWEOSrvDesc, SWVersion, and ClusterId.

InstanceNumber   The instance number of TIBCO iProcess Objects Director.
IsDirector  This identifies whether the SWNodeInfo object represents a TIBCO iProcess Objects Server or Director. True = Director; False = Server.
Key  A string that identifies the specific TIBCO iProcess Objects Director. This key can be passed in the NodeKeys parameter of the Login method to cause the Director to select a Server.
Status  This returns the current status of TIBCO iProcess Objects Director. This value is enumerated using the SWNodeInfoStatusType enumeration (for example, swAvailable, swNotRunning, etc.)
SWEOSrvDesc  Defaults to “TIBCO iProcess Objects Director”. This is set with the UDP_SERVICE_DESC process attribute (see UDP_SERVICE_NAME).
SWEOSrvName  Defaults to “SPODirector.”
SWEOSrvVersion  The version number of TIBCO iProcess Objects Director.
SWVersion  The version of TIBCO iProcess Engine.
TCPPort  This identifies the TCP port on which TIBCO iProcess Objects Director communicates with clients. This port is established on the Director using the TCP_SERVICE_NAME process attribute (see TCP_SERVICE_NAME).
Interface  The interface version number of TIBCO iProcess Objects Director. Note that this number is generally not used to determine compatibility between the client and TIBCO iProcess Objects Director – compatibility is determined by TIBCO iProcess Objects Director when the client attempts to connect to TIBCO iProcess Objects Director.
InterfaceEqual  This method allows you to determine whether or not TIBCO iProcess Objects Director’s interface version number is equal to the value passed in the method call.
InterfaceNewer  This method allows you to determine whether or not TIBCO iProcess Objects Director’s interface version number is newer (greater) than the value passed in the method call.

TIBCO iProcess Server Objects

The following describes the methods on the vNode and vNodeId objects that provide information about TIBCO iProcess Objects Director when those objects represent TIBCO iProcess Objects Director.

getName  The name of the node the Director is associated with.
getComputerName  The name of the machine on which TIBCO iProcess Objects Director is installed.
getIPAddress  The IP address of the machine on which TIBCO iProcess Objects Director is installed.
getTCPPort  The TCP port on which TIBCO iProcess Objects Director communicates with clients. This port is established on the Director using the TCP_SERVICE_NAME process attribute (see TCP_SERVICE_NAME).
isDirector  This identifies whether the vNodeId object represents a TIBCO iProcess Objects Server or a TIBCO iProcess Objects Director. True = Director; False = Server.
getStatus  The current status of TIBCO iProcess Objects Director. This value is enumerated using the SWNodeInfoStatusType enumeration (for example, swAvailable, swNotRunning, etc.)
getSEOSrvDesc  Defaults to “TIBCO iProcess Objects Director”. This is set with the UDP_SERVICE_DESC process attribute (see UDP_SERVICE_DESC).
getSEOSrvName  Defaults to “SPODirector.”
getSEOSrvVersion  The version number of TIBCO iProcess Objects Director.
getSWVersion  The version of TIBCO iProcess Engine.
getClientCnt  The number of TIBCO iProcess Objects Servers that the Director knew about when the vNode object was obtained.
getClusterId  This method is used to uniquely identify the node to which the Director is associated. It consists of the "client/server" RPC port number found in the engines' swdefs file and the machine name on which the database is installed.
getInstance  The instance number of TIBCO iProcess Objects Director.

The sNodeManager object also contains a method that allows you to determine the TIBCO iProcess Objects Servers that TIBCO iProcess Objects Director knows about.

The getManagedNodes method returns an array of vNodeId objects, one for each TIBCO iProcess Objects Server that TIBCO iProcess Objects Director knows about. This list is updated dynamically as TIBCO iProcess Objects Servers are added to or removed from the process_config table.