OperationController

Class

This is the runtime half of the airlock system. A distribution needs to provide the other half, which is the throttle controller. Together, these two halves bind multiple threads to the 'main' thread. This allows for the behaviour defined in the language specification.

Extends

Object

Modifiers

public

Constructors


new OperationController (Skript, SkriptThreadProvider)

Constructor
No description is available for this element.
IndexTypeName
1Skriptskript
2SkriptThreadProviderprovider
Return Type

OperationController

Modifiers

public


Fields


queue

Field
No description is available for this element.
Type

AirlockQueue

Modifiers

protected final

provider

Field
No description is available for this element.
Type

SkriptThreadProvider

Modifiers

protected final

skript

Field
No description is available for this element.
Type

Skript

Modifiers

protected final

state

Field
No description is available for this element.
Type

boolean

Modifiers

protected



Methods


getQueue ()

Method
No description is available for this element.
Return Type

AirlockQueue

Modifiers

public synchronized

addInstruction (Instruction)

Method
No description is available for this element.
IndexTypeName
1Instructionrunnable
Return Type

void

Modifiers

public synchronized

kill ()

Method
No description is available for this element.
Return Type

void

Modifiers

public synchronized

getSkript ()

Method
No description is available for this element.
Return Type

Skript

Modifiers

public