C# Class Renci.SshNet.Messages.Transport.DisconnectMessage

Inheritance: Message, IKeyExchangedAllowed
显示文件 Open project: sshnet/SSH.NET Class Usage Examples

Public Methods

Method Description
DisconnectMessage ( )

Initializes a new instance of the DisconnectMessage class.

DisconnectMessage ( DisconnectReason reasonCode, string message )

Initializes a new instance of the DisconnectMessage class.

Protected Methods

Method Description
LoadData ( ) : void

Called when type specific data need to be loaded.

SaveData ( ) : void

Called when type specific data need to be saved.

Private Methods

Method Description
Process ( Session session ) : void

Method Details

DisconnectMessage() public method

Initializes a new instance of the DisconnectMessage class.
public DisconnectMessage ( )

DisconnectMessage() public method

Initializes a new instance of the DisconnectMessage class.
public DisconnectMessage ( DisconnectReason reasonCode, string message )
reasonCode DisconnectReason The reason code.
message string The message.

LoadData() protected method

Called when type specific data need to be loaded.
protected LoadData ( ) : void
return void

SaveData() protected method

Called when type specific data need to be saved.
protected SaveData ( ) : void
return void