C# 클래스 Renci.SshNet.NetConfClient

Contains operation for working with NetConf server.
상속: BaseClient
파일 보기 프로젝트 열기: sshnet/SSH.NET

공개 메소드들

메소드 설명
NetConfClient ( ConnectionInfo connectionInfo ) : System

Initializes a new instance of the SftpClient class.

NetConfClient ( string host, string username ) : System

Initializes a new instance of the SftpClient class.

NetConfClient ( string host, string username, string password ) : System

Initializes a new instance of the SftpClient class.

SendCloseRpc ( ) : XmlDocument

Sends the close RPC.

SendReceiveRpc ( XmlDocument rpc ) : XmlDocument

Sends the receive RPC.

SendReceiveRpc ( string xml ) : XmlDocument

Sends the receive RPC.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

OnConnected ( ) : void

Called when client is connected to the server.

OnDisconnecting ( ) : void

Called when client is disconnecting from the server.

비공개 메소드들

메소드 설명
NetConfClient ( ConnectionInfo connectionInfo, bool ownsConnectionInfo ) : System

Initializes a new instance of the NetConfClient class.

If ownsConnectionInfo is true, then the connection info will be disposed when this instance is disposed.

NetConfClient ( ConnectionInfo connectionInfo, bool ownsConnectionInfo, IServiceFactory serviceFactory ) : System

Initializes a new instance of the NetConfClient class.

If ownsConnectionInfo is true, then the connection info will be disposed when this instance is disposed.

NetConfClient ( string host, int port, string username ) : System
NetConfClient ( string host, int port, string username, string password ) : System

메소드 상세

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

NetConfClient() 공개 메소드

Initializes a new instance of the SftpClient class.
is null.
public NetConfClient ( ConnectionInfo connectionInfo ) : System
connectionInfo ConnectionInfo The connection info.
리턴 System

NetConfClient() 공개 메소드

Initializes a new instance of the SftpClient class.
is null. is invalid, -or- is null or contains only whitespace characters.
public NetConfClient ( string host, string username ) : System
host string Connection host.
username string Authentication username.
리턴 System

NetConfClient() 공개 메소드

Initializes a new instance of the SftpClient class.
is null. is invalid, or is null or contains only whitespace characters.
public NetConfClient ( string host, string username, string password ) : System
host string Connection host.
username string Authentication username.
password string Authentication password.
리턴 System

OnConnected() 보호된 메소드

Called when client is connected to the server.
protected OnConnected ( ) : void
리턴 void

OnDisconnecting() 보호된 메소드

Called when client is disconnecting from the server.
protected OnDisconnecting ( ) : void
리턴 void

SendCloseRpc() 공개 메소드

Sends the close RPC.
Client is not connected.
public SendCloseRpc ( ) : XmlDocument
리턴 System.Xml.XmlDocument

SendReceiveRpc() 공개 메소드

Sends the receive RPC.
Client is not connected.
public SendReceiveRpc ( XmlDocument rpc ) : XmlDocument
rpc System.Xml.XmlDocument The RPC.
리턴 System.Xml.XmlDocument

SendReceiveRpc() 공개 메소드

Sends the receive RPC.
public SendReceiveRpc ( string xml ) : XmlDocument
xml string The XML.
리턴 System.Xml.XmlDocument