public static ConnectSessionSyncUsingThriftSocket ( string hostName, int serverPort, bool autoClose, float timeout, bool logError ) : bool | ||
hostName | string | |
serverPort | int | |
autoClose | bool | |
timeout | float | |
logError | bool | |
Résultat | bool |
/// <summary> /// Helper to connect to a running instance of Houdini with SessionSync enabled. /// </summary> bool InternalConnect( SessionMode sessionType, string pipeName, string ip, int port, bool autoClose, float timeout, bool logError) { if (sessionType == SessionMode.Pipe) { return(HEU_SessionManager.ConnectSessionSyncUsingThriftPipe( pipeName, autoClose, timeout, logError)); } else { return(HEU_SessionManager.ConnectSessionSyncUsingThriftSocket( ip, port, autoClose, timeout, logError)); } }