コード例 #1
0
ファイル: RenderManager.cs プロジェクト: Anteru/renderdoc
        public void DisconnectFromRemoteServer()
        {
            if (m_RemoteHost != null)
                m_RemoteHost.Connected = false;

            if (m_Remote != null)
                m_Remote.ShutdownConnection();

            m_RemoteHost = null;
            m_Remote = null;
        }
コード例 #2
0
ファイル: RenderManager.cs プロジェクト: Anteru/renderdoc
        public void ShutdownServer()
        {
            if(m_Remote != null)
                m_Remote.ShutdownServerAndConnection();

            m_Remote = null;
        }
コード例 #3
0
ファイル: RenderManager.cs プロジェクト: Anteru/renderdoc
        public void ConnectToRemoteServer(RemoteHost host)
        {
            InitException = null;

            try
            {
                m_Remote = StaticExports.CreateRemoteServer(host.Hostname, 0);
                m_RemoteHost = host;
                m_RemoteHost.Connected = true;
            }
            catch (ReplayCreateException ex)
            {
                InitException = ex;
            }
        }