It provides an actor system.

The project frtex uses this actor system for reading a LaTeX file and return a new LaTeX file in which the "" are (recursively) replaced by the content.

Installation and test

General classes

An abstract implementation : the Decent actor system.

The types are

We have the following two methods :

ActorSystem getActorSystem()

returns the actor system which created him.

Next implementation : your actor system

In order to make the things clearly you should create your own actor system by derivation from the "decent" actor system. You should create the following classes * yourActor * yourActorRef * yourActorSystem

Some override that you should do

public void setUpActor(yourActorRef ref,yourActor act)
    // give here to ref and act the properties they need
public yourActorRef createPair()
    yourActorRef reference = new yourActorRef();
    yourActor actor = new yourActor();
    return reference;
public  yourActor getActor(DecentActorRef reference) { return (yourActor) super.getActor(reference); }

The cast should work because the actor has a reference to its actor system. Thus only actors build from your actor system should get into that method.

public  YourActorRef getSelfReference() { return (YourActorRef) super.getSelfReference() ; }
public LatexActorSystem getActorSystem() { return (LatexActorSystem) super.getActorSystem(); }
public LatexActor getActor() { return (LatexActor) super.getActor(); }                                           

The Echo actor system

It is only for testing purpose. The system manage the message type "EchoText".

EchoText (the message type)

The EchoText type has two subtypes EchoTextOne and EchoTextTwo that only exist for testing purpose of the accepted_type system.

Special features



The skeleton is from rcardin, but I got quite far away from his architecture. For example