C# Class PoyService.Poy

Afficher le fichier Open project: supramap/PoyWebService

Méthodes publiques

Свойство Type Description
superComputer SuperComputer
tempDir string

Méthodes publiques

Méthode Description
AddFile ( int jobId, byte fileData, string filename ) : bool
AddTextFile ( int jobId, string fileData, string filename ) : bool
AddZipFile ( int jobId, byte fileData, string filename ) : bool
Delete ( int jobId ) : bool
Init ( int dir ) : int
Poy ( SuperComputer sc ) : System
Submit ( int jobId, int numberOfNodes, int wallTimeHours, int wallTimeMinutes, string postBackURL ) : string
SubmitGenPhen ( int jobId, string jobName, string treeName, string postBackURL ) : string
getCompressedFile ( int jobId, string fileName, string compressionType ) : byte[]
getFile ( int jobId, string fileName ) : byte[]
getTextFile ( int jobId, string fileName ) : string
isDone ( int jobId, string command ) : bool

Private Methods

Méthode Description
Poy ( ) : System
getCommander ( ) : Tamir.SharpSsh.SshExec
getSftp ( ) : Sftp
getShell ( ) : Tamir.SharpSsh.SshStream

Method Details

AddFile() public méthode

public AddFile ( int jobId, byte fileData, string filename ) : bool
jobId int
fileData byte
filename string
Résultat bool

AddTextFile() public méthode

public AddTextFile ( int jobId, string fileData, string filename ) : bool
jobId int
fileData string
filename string
Résultat bool

AddZipFile() public méthode

public AddZipFile ( int jobId, byte fileData, string filename ) : bool
jobId int
fileData byte
filename string
Résultat bool

Delete() public méthode

public Delete ( int jobId ) : bool
jobId int
Résultat bool

Init() public méthode

public Init ( int dir ) : int
dir int
Résultat int

Poy() public méthode

public Poy ( SuperComputer sc ) : System
sc SuperComputer
Résultat System

Submit() public méthode

public Submit ( int jobId, int numberOfNodes, int wallTimeHours, int wallTimeMinutes, string postBackURL ) : string
jobId int
numberOfNodes int
wallTimeHours int
wallTimeMinutes int
postBackURL string
Résultat string

SubmitGenPhen() public méthode

public SubmitGenPhen ( int jobId, string jobName, string treeName, string postBackURL ) : string
jobId int
jobName string
treeName string
postBackURL string
Résultat string

getCompressedFile() public méthode

public getCompressedFile ( int jobId, string fileName, string compressionType ) : byte[]
jobId int
fileName string
compressionType string
Résultat byte[]

getFile() public méthode

public getFile ( int jobId, string fileName ) : byte[]
jobId int
fileName string
Résultat byte[]

getTextFile() public méthode

public getTextFile ( int jobId, string fileName ) : string
jobId int
fileName string
Résultat string

isDone() public méthode

public isDone ( int jobId, string command ) : bool
jobId int
command string
Résultat bool

Property Details

superComputer public_oe property

public SuperComputer,PoyService superComputer
Résultat SuperComputer

tempDir public_oe static_oe property

public static string tempDir
Résultat string