C# Class Renci.SshNet.Messages.Connection.DirectTcpipChannelInfo

Used to open "direct-tcpip" channel type
Inheritance: Renci.SshNet.Messages.Connection.ChannelOpenInfo
Mostra file Open project: sshnet/SSH.NET Class Usage Examples

Public Methods

Method Description
DirectTcpipChannelInfo ( byte data ) : System

Initializes a new instance of the DirectTcpipChannelInfo class from the specified data.

DirectTcpipChannelInfo ( string hostToConnect, uint portToConnect, string originatorAddress, uint originatorPort ) : System

Initializes a new instance of the DirectTcpipChannelInfo 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.

Method Details

DirectTcpipChannelInfo() public method

Initializes a new instance of the DirectTcpipChannelInfo class from the specified data.
is null.
public DirectTcpipChannelInfo ( byte data ) : System
data byte
return System

DirectTcpipChannelInfo() public method

Initializes a new instance of the DirectTcpipChannelInfo class.
public DirectTcpipChannelInfo ( string hostToConnect, uint portToConnect, string originatorAddress, uint originatorPort ) : System
hostToConnect string The host to connect.
portToConnect uint The port to connect.
originatorAddress string The originator address.
originatorPort uint The originator port.
return System

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