NVIDIA Iray API Home  Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::neuraylib::ICluster_manager_configuration Class Referenceabstract

An API component which can be used to create a connection to a cluster manager. More...

Inheritance diagram for mi::neuraylib::ICluster_manager_configuration:
Inheritance graph
[legend]

Public Member Functions

virtual
ICluster_manager_connection
connect (const char *address, const char *user_name, const char *password, Sint32 *errors=0)=0
  Creates a connection to a cluster manager. More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0x6ac7506d, 0x3604, 0x49ad, 0xb9, 0xc3, 0x6f, 0xb3, 0xf5, 0x0c, 0xa3, 0x0f >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
IInterface
Self
  Own type. More...
 
typedef Uuid_t< id1, id2, id3,
id4, id5, id6, id7, id8, id9,
id10, id11 > 
IID
  Declares the interface ID (IID) of this interface. More...
 
- Static Public Member Functions inherited from mi::base::Interface_declare< 0x6ac7506d, 0x3604, 0x49ad, 0xb9, 0xc3, 0x6f, 0xb3, 0xf5, 0x0c, 0xa3, 0x0f >
static bool  compare_iid (const Uuid &iid)
  Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed Description

An API component which can be used to create a connection to a cluster manager.

Member Function Documentation

virtual ICluster_manager_connection* mi::neuraylib::ICluster_manager_configuration::connect ( const char *  address,
const char *  user_name,
const char *  password,
Sint32 errors = 0 
)
pure virtual

Creates a connection to a cluster manager.

Parameters
address The address of the cluster manager including the port. The address can be prefixed by "wss://" to encrypt the connection using the SSL protocol. If no prefix is given, the default prefix "ws://" is used, resulting in an unencrypted connection.
user_name The user name to be used for logging into the cluster manager.
password The password to be used for logging into the cluster manager.
[out] errors An optional pointer to an mi::Sint32 to which an error code will be written. The error codes have the following meaning:
  • 0: Success.
  • -1: The connection failed. Please check the server address.
  • -2: The authentication failed. Please check user name and password.
  • -5: The request timed out. Please check if the cluster manager is working properly.
Returns
The cluster manager connection, or NULL in case of failures.