C# 클래스 Granados.SSH.SSHProtocolVersionReceiver

A class reads SSH protocol version
파일 보기 프로젝트 열기: poderosaproject/poderosa

공개 메소드들

메소드 설명
Receive ( PlainSocket sock, long timeout ) : bool

Receive version string.

SSHProtocolVersionReceiver ( ) : System

Constructor

Verify ( SSHProtocol protocol ) : void

Verify server version

메소드 상세

Receive() 공개 메소드

Receive version string.
public Receive ( PlainSocket sock, long timeout ) : bool
sock Granados.IO.PlainSocket socket object
timeout long timeout in msec
리턴 bool

SSHProtocolVersionReceiver() 공개 메소드

Constructor
public SSHProtocolVersionReceiver ( ) : System
리턴 System

Verify() 공개 메소드

Verify server version
server version doesn't match
public Verify ( SSHProtocol protocol ) : void
protocol SSHProtocol expected protocol version
리턴 void