ClientModule

class ClientModule(clientName: String, moduleName: String, startScriptName: Option[String], executor: Option[IExecutor], host: String, portFrontend: Int, portBackend: Int, basePath: File) extends Engine with AutoCloseable
trait AutoCloseable
class Engine
class Object
trait Matchable
class Any

Value members

Concrete methods

override def close(): Unit
Definition Classes
AutoCloseable
override def execute(stmt: String): Type

execute statement

execute statement

Value parameters:
stmt

statement to execute

Returns:

the result of exection

Definition Classes
Engine
override def getParam(name: String): Type

get engine param value

get engine param value

Value parameters:
name

of the param

Returns:

param value

Definition Classes
Engine
override def isParam(name: String): Boolean

check if it is engine param

check if it is engine param

Value parameters:
name

for the param

Returns:

true if param, false if not

Definition Classes
Engine
override def name: String

engine name

engine name

Returns:

name of engine

Definition Classes
Engine
def recvMsg(): GeneratedMessage
def sendMsg(msg: GeneratedMessage): Unit
override def setParam(name: String, value: Type): Unit

set param for engine

set param for engine

Value parameters:
name

of the param

value

of the param

Definition Classes
Engine
def startModuleClient(): Unit

Concrete fields

var client: Socket
var clientFuture: Future[Unit]
var clientRemoteProcess: Process
var ctx: Context
var started: Boolean