ConnectSessionSyncUsingThriftPipe() 공개 정적인 메소드

public static ConnectSessionSyncUsingThriftPipe ( string pipeName, bool autoClose, float timeout, bool logError ) : bool
pipeName string
autoClose bool
timeout float
logError bool
리턴 bool
예제 #1
0
 /// <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));
     }
 }