コード例 #1
0
 public SIPSorceryShell(SIPSorceryIdentity sipSorceryIdentity)
 {
     m_sshVT100Server = new SIPSorceryVT100Server(sipSorceryIdentity.Customer);
     m_sshVT100Server.Closed += (sender, args) => { Close(); };
     StandardError = new StreamReader(m_sshVT100Server.ErrorStream);
     StandardOutput = new StreamReader(m_sshVT100Server.OutStream);
     StandardInput = new StreamWriter(m_sshVT100Server.InStream);
 }
コード例 #2
0
 public SIPSorceryShell(SIPSorceryIdentity sipSorceryIdentity)
 {
     m_sshVT100Server         = new SIPSorceryVT100Server(sipSorceryIdentity.Customer);
     m_sshVT100Server.Closed += (sender, args) => { Close(); };
     StandardError            = new StreamReader(m_sshVT100Server.ErrorStream);
     StandardOutput           = new StreamReader(m_sshVT100Server.OutStream);
     StandardInput            = new StreamWriter(m_sshVT100Server.InStream);
 }