This package contains the classes related to the Scone RAS-Server.

The Scone RAS-Server allows quick socket access to data generated by Scone, e.g. for Applets or Plugins.

For instructive examples have a look at scone.ras.RasTest, scone.ras.DedicatedRasHandlerExample and scone.ras.SingletonRasHandlerExample

To enable the RAS-Server in you plugin you have to return the requirement `RAS` and to implement the method `public int getRasPort()` which simply returns the wanted RAS port as an integer number.

### Example:

hyperscout2/Plugin.java:

    package hyperscout2;

    import scone.*;
    import scone.ras.*;
    import scone.proxy.*;
    import scone.netobjects.*;
    import scone.util.*;
    import scone.util.tokenstream.*;

    public class Plugin extends scone.Plugin{

       //requirements
       public int getRequirements(){
          return ACCESSTRACKING | PARSEDOCUMENT | CONSIDERLINKS | RESOURCEGENERATOR | RAS;
       }

       public int getRasPort() {
          return 8084; }

       public void init(){
          GeneralResourceGenerator.addPath("/_hyperscout2/resources","resources/hyperscout2");

    		PopupCodeAdder pAdder=new PopupCodeAdder();
    		pAdder.setup("le: PopupCodeAdder",HTDOCCONDITION,60);
    		addMeg(pAdder);

       	LinkEventAdder lea=new LinkEventAdder();
       	lea.setup("le: linkeventadder",HTDOCCONDITION,60);
       	addMeg(lea);

       }
    }