Server

Server

Abstract Class Server

SubTypes

Fields Summary

Field
Description
application
characterMemory
Character memory (Mo)
identifier
Serveur identifier (0 : pas démarré)
javaMemory
Java memory (Mo)
name
Name of server
numericalMemory
Numerical memory (Mo)
system
System (32 or 64 bits)
version
Version of software
wrkdir
Working directory

Methods Summary

Method
Description
executeCommand
Execute pyflux command
executeServerSpy
Execute a command file
getDoubleArray
Get a real array
getIntArray
Get an integer array
getStringArray
Get a string array
kill
Stop the server en force
setDoubleArray
Set a real array
setIntArray
Set an integer array
setStringArray
Set a string array
start
Launch the server
stop
Stop the server

Fields Details

application
application : Application started by the server - [1..1] serverApplication
characterMemory
characterMemory : Character memory (Mo) - [1..1] Integer
identifier
identifier : Serveur identifier (0 : pas démarré) - [1..1] Integer
javaMemory
javaMemory : Java memory (Mo) - [1..1] Integer
name
name : Name of server - [1..1] String
numericalMemory
numericalMemory : Numerical memory (Mo) - [1..1] Integer
system
system : System (32 or 64 bits) - [1..1] Integer
version
version : Version of software - [1..1] String
wrkdir
wrkdir : Working directory - [1..1] String

Method Details

executeCommand
  • Syntax

    executeCommand(command)

  • Parameters

    • command : Command to execute - [1..1] String
  • Returns

    No return value

executeServerSpy
  • Syntax

    executeServerSpy(file)

  • Parameters

    • file : File Name - [1..1] String
  • Returns

    No return value

getDoubleArray
  • Syntax

    result = getDoubleArray(name)

  • Parameters

    • name : Name of array - [1..1] String
  • Returns

    • Server.values : Values - [0..N] Double
getIntArray
  • Syntax

    result = getIntArray(name)

  • Parameters

    • name : Name of array - [1..1] String
  • Returns

    • Server.values : Values - [0..N] Integer
getStringArray
  • Syntax

    result = getStringArray(name)

  • Parameters

    • name : Name of array - [1..1] String
  • Returns

    • Server.values : Values - [0..N] String
kill
  • Syntax

    kill()

  • Parameters

    No parameter

  • Returns

    No return value

setDoubleArray
  • Syntax

    setDoubleArray(name, values)

  • Parameters

    • name : Name of array - [1..1] String
    • values : Values of array - [1..N] Double
  • Returns

    No return value

setIntArray
  • Syntax

    setIntArray(name, values)

  • Parameters

    • name : Name of array - [1..1] String
    • values : Values of array - [1..N] Integer
  • Returns

    No return value

setStringArray
  • Syntax

    setStringArray(name, values)

  • Parameters

    • name : Name of array - [1..1] String
    • values : Values of array - [1..N] String
  • Returns

    No return value

start
  • Syntax

    start()

  • Parameters

    No parameter

  • Returns

    No return value

stop
  • Syntax

    stop()

  • Parameters

    No parameter

  • Returns

    No return value