C# Class PoyService.Poy

Datei anzeigen Open project: supramap/PoyWebService

Public Properties

Property Type Description
superComputer SuperComputer
tempDir string

Public Methods

Method 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

Method Description
Poy ( ) : System
getCommander ( ) : Tamir.SharpSsh.SshExec
getSftp ( ) : Sftp
getShell ( ) : Tamir.SharpSsh.SshStream

Method Details

AddFile() public method

public AddFile ( int jobId, byte fileData, string filename ) : bool
jobId int
fileData byte
filename string
return bool

AddTextFile() public method

public AddTextFile ( int jobId, string fileData, string filename ) : bool
jobId int
fileData string
filename string
return bool

AddZipFile() public method

public AddZipFile ( int jobId, byte fileData, string filename ) : bool
jobId int
fileData byte
filename string
return bool

Delete() public method

public Delete ( int jobId ) : bool
jobId int
return bool

Init() public method

public Init ( int dir ) : int
dir int
return int

Poy() public method

public Poy ( SuperComputer sc ) : System
sc SuperComputer
return System

Submit() public method

public Submit ( int jobId, int numberOfNodes, int wallTimeHours, int wallTimeMinutes, string postBackURL ) : string
jobId int
numberOfNodes int
wallTimeHours int
wallTimeMinutes int
postBackURL string
return string

SubmitGenPhen() public method

public SubmitGenPhen ( int jobId, string jobName, string treeName, string postBackURL ) : string
jobId int
jobName string
treeName string
postBackURL string
return string

getCompressedFile() public method

public getCompressedFile ( int jobId, string fileName, string compressionType ) : byte[]
jobId int
fileName string
compressionType string
return byte[]

getFile() public method

public getFile ( int jobId, string fileName ) : byte[]
jobId int
fileName string
return byte[]

getTextFile() public method

public getTextFile ( int jobId, string fileName ) : string
jobId int
fileName string
return string

isDone() public method

public isDone ( int jobId, string command ) : bool
jobId int
command string
return bool

Property Details

superComputer public_oe property

public SuperComputer,PoyService superComputer
return SuperComputer

tempDir public_oe static_oe property

public static string tempDir
return string