ConnectionIDType mtsManagerProxyClient::Connect(const std::string & requestProcessName, const std::string & clientProcessName, const std::string & clientComponentName, const std::string & clientInterfaceName, const std::string & serverProcessName, const std::string & serverComponentName, const std::string & serverInterfaceName) { mtsManagerProxy::ConnectionStringSet connectionStringSet; GetConnectionStringSet(connectionStringSet, clientProcessName, clientComponentName, clientInterfaceName, serverProcessName, serverComponentName, serverInterfaceName, requestProcessName); return (ConnectionIDType) SendConnect(connectionStringSet); }
int Active_Init(char *username, char *password) { TRACE("Active Client initialization"); pktbuf = Packet_Create(); SendConnect(username, password, 1); return 0; }