C# Class AsyncServerForm.SwarmMemory

Exibir arquivo Open project: shranjan/pinac

Public Methods

Method Description
SwarmMemory ( string _Pid, string myIPPort ) : System
addPermissionRequest ( string myIPPort, Hashtable dests, string code, string IPPort, string read, string write ) : void
addReply ( string IPP, string _reply ) : void
adder ( string IPPort, string read, string write, string code, string myIPPort ) : void
adjustThePartialTables ( string statementXML ) : void
changePermissionRequest ( string myIPPort, Hashtable dests, string IPPort, string read, string write ) : void
changer ( string IPPort, string read, string write, string myIPPort ) : void
deleteReply ( string IPP ) : void
deleteVariable ( string variable ) : void
distributeParallelCode ( string statement ) : void
finalCodeChange ( string changes ) : void
getOwner ( ) : string
getPartialResults ( ) : Hashtable
getPermissions ( ) : Hashtable
getPid ( ) : string
getProgramVariables ( ) : Hashtable
getReplies ( ) : Hashtable
getStack ( ) : Stack
getVariableValue ( string variable ) : double
incomingResult ( string resultInfo ) : void
masterCodeChanger ( string changes ) : void
receiveStack ( string XML_stack ) : void
sendStack ( string XML_stack ) : void
setOwner ( string _owner ) : void
setPermissions ( Hashtable newPermissons ) : void
setProgramStack ( Stack newStack ) : void
setProgramVariables ( Hashtable newVariables ) : void
setReply ( Hashtable newReply ) : void
setpartialResults ( Hashtable newResults ) : void
sizeOfReply ( ) : int
sourceCodeChanged ( int dellineno, int addlineno, string addstring ) : void
writePrivilege ( string uname ) : bool

Private Methods

Method Description
InitialXMLString ( ) : string
Peers ( ) : List
PortionsIPXML ( int LinePerCPU, string statement, List calculationComputers, Hashtable IPtoCPU ) : string
changePermissionMessage ( string IPPort, string read, string write ) : string
createInitialData ( string IPPort ) : void

Method Details

SwarmMemory() public method

public SwarmMemory ( string _Pid, string myIPPort ) : System
_Pid string
myIPPort string
return System

addPermissionRequest() public method

public addPermissionRequest ( string myIPPort, Hashtable dests, string code, string IPPort, string read, string write ) : void
myIPPort string
dests System.Collections.Hashtable
code string
IPPort string
read string
write string
return void

addReply() public method

public addReply ( string IPP, string _reply ) : void
IPP string
_reply string
return void

adder() public method

public adder ( string IPPort, string read, string write, string code, string myIPPort ) : void
IPPort string
read string
write string
code string
myIPPort string
return void

adjustThePartialTables() public method

public adjustThePartialTables ( string statementXML ) : void
statementXML string
return void

changePermissionRequest() public method

public changePermissionRequest ( string myIPPort, Hashtable dests, string IPPort, string read, string write ) : void
myIPPort string
dests System.Collections.Hashtable
IPPort string
read string
write string
return void

changer() public method

public changer ( string IPPort, string read, string write, string myIPPort ) : void
IPPort string
read string
write string
myIPPort string
return void

deleteReply() public method

public deleteReply ( string IPP ) : void
IPP string
return void

deleteVariable() public method

public deleteVariable ( string variable ) : void
variable string
return void

distributeParallelCode() public method

public distributeParallelCode ( string statement ) : void
statement string
return void

finalCodeChange() public method

public finalCodeChange ( string changes ) : void
changes string
return void

getOwner() public method

public getOwner ( ) : string
return string

getPartialResults() public method

public getPartialResults ( ) : Hashtable
return System.Collections.Hashtable

getPermissions() public method

public getPermissions ( ) : Hashtable
return System.Collections.Hashtable

getPid() public method

public getPid ( ) : string
return string

getProgramVariables() public method

public getProgramVariables ( ) : Hashtable
return System.Collections.Hashtable

getReplies() public method

public getReplies ( ) : Hashtable
return System.Collections.Hashtable

getStack() public method

public getStack ( ) : Stack
return Stack

getVariableValue() public method

public getVariableValue ( string variable ) : double
variable string
return double

incomingResult() public method

public incomingResult ( string resultInfo ) : void
resultInfo string
return void

masterCodeChanger() public method

public masterCodeChanger ( string changes ) : void
changes string
return void

receiveStack() public method

public receiveStack ( string XML_stack ) : void
XML_stack string
return void

sendStack() public method

public sendStack ( string XML_stack ) : void
XML_stack string
return void

setOwner() public method

public setOwner ( string _owner ) : void
_owner string
return void

setPermissions() public method

public setPermissions ( Hashtable newPermissons ) : void
newPermissons Hashtable
return void

setProgramStack() public method

public setProgramStack ( Stack newStack ) : void
newStack Stack
return void

setProgramVariables() public method

public setProgramVariables ( Hashtable newVariables ) : void
newVariables Hashtable
return void

setReply() public method

public setReply ( Hashtable newReply ) : void
newReply Hashtable
return void

setpartialResults() public method

public setpartialResults ( Hashtable newResults ) : void
newResults Hashtable
return void

sizeOfReply() public method

public sizeOfReply ( ) : int
return int

sourceCodeChanged() public method

public sourceCodeChanged ( int dellineno, int addlineno, string addstring ) : void
dellineno int
addlineno int
addstring string
return void

writePrivilege() public method

public writePrivilege ( string uname ) : bool
uname string
return bool