The SshScript type exposes the following members.

Constructors

  Name Description
Public method SshScript(Ssh)
Creates a new script instance.
Public method SshScript(Ssh, String)
Creates a new script instance.

Methods

  Name Description
Public method AddTask
Adds a task to this script.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method FireTaskEnded
Fires a SshTaskEndedEvent event.
Public method FireTaskFailed
Fires a SshTaskFailedEvent event.
Public method FireTaskStarted
Fires a SshTaskStartedEvent event.
Public method FireTaskTimeout
Fires a SshTaskTimeoutEvent
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IsPreviousCompleted
Checks if the task previuous to the specified is complete.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method RemoveTask
Removes a task to this script.
Public method SetNextActive
Set the task next to the specified to the active state.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property Count
The task count.
Public property IsComplete
Checks whether this script has completed execution of all task.
Public property IsEmpty
Checks whether this script has no task.
Public property Item[([( Int32])])
The task indexer.
Public property Item[([( String])])
The task indexer.
Public property Ssh
The underlayed SSH client.

Events

  Name Description
Public event SshTaskEndedEvent
Occurs after task has ended.
Public event SshTaskFailedEvent
Occurs after task has failed.
Public event SshTaskStartedEvent
Occurs after task has started.
Public event SshTaskTimeoutEvent
Occurs after task has timed out.

See Also