C# Class Renci.SshNet.ForwardedPortStatus

Afficher le fichier Open project: sshnet/SSH.NET Class Usage Examples

Méthodes publiques

Свойство Type Description
Started ForwardedPortStatus
Starting ForwardedPortStatus
Stopped ForwardedPortStatus
Stopping ForwardedPortStatus

Méthodes publiques

Méthode Description
Equals ( object other ) : bool
GetHashCode ( ) : int
ToStarting ( ForwardedPortStatus &status ) : bool

Returns a value indicating whether status has been changed to Starting.

While a transition from Started to Starting is not possible, this method will return false for any such attempts. This is related to concurrency.

ToStopping ( ForwardedPortStatus &status ) : bool

Returns a value indicating whether status has been changed to Stopping.

While a transition from Stopped to Stopping is not possible, this method will return false for any such attempts. This is related to concurrency.

ToString ( ) : string
operator ( ) : bool

Private Methods

Méthode Description
ForwardedPortStatus ( int value, string name ) : System

Method Details

Equals() public méthode

public Equals ( object other ) : bool
other object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

ToStarting() public static méthode

Returns a value indicating whether status has been changed to Starting.
While a transition from Started to Starting is not possible, this method will return false for any such attempts. This is related to concurrency.
Cannot transition to .
public static ToStarting ( ForwardedPortStatus &status ) : bool
status ForwardedPortStatus The status to transition from.
Résultat bool

ToStopping() public static méthode

Returns a value indicating whether status has been changed to Stopping.
While a transition from Stopped to Stopping is not possible, this method will return false for any such attempts. This is related to concurrency.
Cannot transition to .
public static ToStopping ( ForwardedPortStatus &status ) : bool
status ForwardedPortStatus The status to transition from.
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string

operator() public static méthode

public static operator ( ) : bool
Résultat bool

Property Details

Started public_oe static_oe property

public static ForwardedPortStatus,Renci.SshNet Started
Résultat ForwardedPortStatus

Starting public_oe static_oe property

public static ForwardedPortStatus,Renci.SshNet Starting
Résultat ForwardedPortStatus

Stopped public_oe static_oe property

public static ForwardedPortStatus,Renci.SshNet Stopped
Résultat ForwardedPortStatus

Stopping public_oe static_oe property

public static ForwardedPortStatus,Renci.SshNet Stopping
Résultat ForwardedPortStatus