public static CreateThriftSocketSession ( string hostName, int serverPort, bool autoClose, float timeout, bool logError ) : bool | ||
hostName | string | Network name of the host. |
serverPort | int | Network port of the host. |
autoClose | bool | |
timeout | float | |
logError | bool | |
return | bool |
public static void CreateSocketSession() { bool bResult = HEU_SessionManager.CreateThriftSocketSession(HEU_PluginSettings.Session_Localhost, HEU_PluginSettings.Session_Port, HEU_PluginSettings.Session_AutoClose, HEU_PluginSettings.Session_Timeout, true); if (!bResult) { HEU_EditorUtility.DisplayErrorDialog("Create Session", HEU_SessionManager.GetLastSessionError(), "OK"); } }