C# 클래스 SuperPutty.Data.SessionData

상속: IComparable, ICloneable
파일 보기 프로젝트 열기: sepich/superputty 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BackUpFiles void
WorkaroundCygwinBug void

공개 메소드들

메소드 설명
Clone ( ) : object

Create a deep copy of the SessionData object

CombineSessionIds ( string parent, string child ) : string
CompareTo ( object obj ) : int
GetSessionNameFromId ( string sessionId ) : string
GetSessionNameParts ( string sessionId ) : string[]

Split the SessionID into its parent/child parts

GetSessionParentId ( string sessionId ) : string

Get the parent ID of the specified session

LoadSessionsFromFile ( string fileName ) : List

Load session configuration data from the specified XML file

LoadSessionsFromRegistry ( ) : List

Read any existing saved sessions from the registry, decode and populate a list containing the data

SaveSessionsToFile ( List sessions, string fileName ) : void

Save session configuration to the specified XML file

SessionData ( ) : System

Default constructor, instantiate a new SessionData object

SessionData ( string sessionName, string hostName, int port, ConnectionProtocol protocol, string sessionConfig ) : System

Construct a new session data object

ToString ( ) : string

Return a string containing a uri to the protocol://host:port of this sesssions defined host

비공개 메소드들

메소드 설명
BackUpFiles ( string fileName, int count ) : void
WorkaroundCygwinBug ( ) : void

메소드 상세

Clone() 공개 메소드

Create a deep copy of the SessionData object
public Clone ( ) : object
리턴 object

CombineSessionIds() 공개 정적인 메소드

public static CombineSessionIds ( string parent, string child ) : string
parent string
child string
리턴 string

CompareTo() 공개 메소드

public CompareTo ( object obj ) : int
obj object
리턴 int

GetSessionNameFromId() 공개 정적인 메소드

public static GetSessionNameFromId ( string sessionId ) : string
sessionId string
리턴 string

GetSessionNameParts() 공개 정적인 메소드

Split the SessionID into its parent/child parts
public static GetSessionNameParts ( string sessionId ) : string[]
sessionId string The SessionID
리턴 string[]

GetSessionParentId() 공개 정적인 메소드

Get the parent ID of the specified session
public static GetSessionParentId ( string sessionId ) : string
sessionId string the ID of the session
리턴 string

LoadSessionsFromFile() 공개 정적인 메소드

Load session configuration data from the specified XML file
public static LoadSessionsFromFile ( string fileName ) : List
fileName string The filename containing the settings
리턴 List

LoadSessionsFromRegistry() 공개 정적인 메소드

Read any existing saved sessions from the registry, decode and populate a list containing the data
public static LoadSessionsFromRegistry ( ) : List
리턴 List

SaveSessionsToFile() 공개 정적인 메소드

Save session configuration to the specified XML file
public static SaveSessionsToFile ( List sessions, string fileName ) : void
sessions List A containing the session configuration data
fileName string A path to a filename to save the data in
리턴 void

SessionData() 공개 메소드

Default constructor, instantiate a new SessionData object
public SessionData ( ) : System
리턴 System

SessionData() 공개 메소드

Construct a new session data object
public SessionData ( string sessionName, string hostName, int port, ConnectionProtocol protocol, string sessionConfig ) : System
sessionName string A string representing the name of the session
hostName string The hostname or ip address of the remote host
port int The port on the remote host
protocol ConnectionProtocol The protocol to use when connecting to the remote host
sessionConfig string the name of the saved configuration settings from putty to use
리턴 System

ToString() 공개 메소드

Return a string containing a uri to the protocol://host:port of this sesssions defined host
public ToString ( ) : string
리턴 string