edu.vub.at.objects.natives
Class SAFSystem

java.lang.Object
  extended byedu.vub.at.actors.natives.SharedActorField
      extended byedu.vub.at.objects.natives.SAFSystem

public class SAFSystem
extends SharedActorField

SAFSystem initialises the "system" field with an object which provides access to the input and output streams of IAT.

Author:
smostinc

Field Summary
private static AGSymbol _SYSTEM_SYM_
           
private  java.lang.String[] commandLineArguments_
           
 
Fields inherited from class edu.vub.at.actors.natives.SharedActorField
 
Constructor Summary
SAFSystem(java.lang.String[] commandLineArguments)
           
 
Method Summary
 ATObject initialize()
          Hook to be overridden in order to initialize the field which should be installed in every actor's lexical root object.
 
Methods inherited from class edu.vub.at.actors.natives.SharedActorField
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_SYSTEM_SYM_

private static final AGSymbol _SYSTEM_SYM_

commandLineArguments_

private final java.lang.String[] commandLineArguments_
Constructor Detail

SAFSystem

public SAFSystem(java.lang.String[] commandLineArguments)
Method Detail

initialize

public ATObject initialize()
                    throws InterpreterException
Description copied from class: SharedActorField
Hook to be overridden in order to initialize the field which should be installed in every actor's lexical root object. The method is executed by the thread of the newly created actor, which can thus be accessed using ELActor.currentActor(). NOTE: if the return value is null, the field will not be added to the lexical root.

Specified by:
initialize in class SharedActorField
Returns:
the object to be assigned to the field with the specified name in the current actor's lexical root
Throws:
InterpreterException