C# Class Renci.SshNet.ForwardedPortStatus

Datei anzeigen Open project: sshnet/SSH.NET Class Usage Examples

Public Properties

Property Type Description
Started ForwardedPortStatus
Starting ForwardedPortStatus
Stopped ForwardedPortStatus
Stopping ForwardedPortStatus

Public Methods

Method 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

Method Description
ForwardedPortStatus ( int value, string name ) : System

Method Details

Equals() public method

public Equals ( object other ) : bool
other object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToStarting() public static method

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.
return bool

ToStopping() public static method

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.
return bool

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool

Property Details

Started public_oe static_oe property

public static ForwardedPortStatus,Renci.SshNet Started
return ForwardedPortStatus

Starting public_oe static_oe property

public static ForwardedPortStatus,Renci.SshNet Starting
return ForwardedPortStatus

Stopped public_oe static_oe property

public static ForwardedPortStatus,Renci.SshNet Stopped
return ForwardedPortStatus

Stopping public_oe static_oe property

public static ForwardedPortStatus,Renci.SshNet Stopping
return ForwardedPortStatus