C# Class Granados.SSH.SSHProtocolVersionReceiver

A class reads SSH protocol version
Afficher le fichier Open project: poderosaproject/poderosa

Méthodes publiques

Méthode Description
Receive ( PlainSocket sock, long timeout ) : bool

Receive version string.

SSHProtocolVersionReceiver ( ) : System

Constructor

Verify ( SSHProtocol protocol ) : void

Verify server version

Method Details

Receive() public méthode

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

SSHProtocolVersionReceiver() public méthode

Constructor
public SSHProtocolVersionReceiver ( ) : System
Résultat System

Verify() public méthode

Verify server version
server version doesn't match
public Verify ( SSHProtocol protocol ) : void
protocol SSHProtocol expected protocol version
Résultat void