Graphics2D Actor API

g2d
Class Main

java.lang.Object
  extended by g2d.Main

public final class Main
extends Object

The Main, stripped down from yore.

Since:
From IOP/src/GraphAct, i.e. 2002.
Author:
Ian A. Mason

Field Summary
static boolean DEBUG
          A simple static DEBUG switch that turns on some error stream commentary.
 
Method Summary
static String getBinaryDirectory()
           
static String getSelf()
           
static boolean isRemote()
           
static void main(Socket socket)
           
static void main(String[] args)
          This is the front end to the Graphics 2D actor.
static void setBinaryDirectory(String dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static boolean DEBUG
A simple static DEBUG switch that turns on some error stream commentary.

Method Detail

main

public static void main(String[] args)
This is the front end to the Graphics 2D actor. It is essentially a read, (spawn an) eval -- (but not) print -- loop. If you want a response you must program one in yourself, ActorMsg.

Parameters:
args - an array of Strings, currently only args[0] is used, and if present, will be the name of the corresponding Graphics 2D actor, the default is "graphics2d" .

main

public static void main(Socket socket)

setBinaryDirectory

public static final void setBinaryDirectory(String dir)

getBinaryDirectory

public static final String getBinaryDirectory()

isRemote

public static final boolean isRemote()

getSelf

public static final String getSelf()

Graphics2D Actor API