C# 클래스 NASAExplorer.Services.TelnetConnection

상속: IDisposable
파일 보기 프로젝트 열기: mihok/nasa-explorer 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
Handshake ( ) : bool
Login ( string Username, string Password, int LoginTimeOutMs ) : string
Read ( ) : string
ReadUntil ( string substring, int timeout = 1000 ) : string
TelnetConnection ( string Hostname, int Port ) : System
Write ( string cmd ) : void
WriteLine ( string cmd ) : void

비공개 메소드들

메소드 설명
ParseTelnet ( StringBuilder sb ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Handshake() 공개 메소드

public Handshake ( ) : bool
리턴 bool

Login() 공개 메소드

public Login ( string Username, string Password, int LoginTimeOutMs ) : string
Username string
Password string
LoginTimeOutMs int
리턴 string

Read() 공개 메소드

public Read ( ) : string
리턴 string

ReadUntil() 공개 메소드

public ReadUntil ( string substring, int timeout = 1000 ) : string
substring string
timeout int
리턴 string

TelnetConnection() 공개 메소드

public TelnetConnection ( string Hostname, int Port ) : System
Hostname string
Port int
리턴 System

Write() 공개 메소드

public Write ( string cmd ) : void
cmd string
리턴 void

WriteLine() 공개 메소드

public WriteLine ( string cmd ) : void
cmd string
리턴 void