MicroTester.v2_0
Class MicroTesterServer

java.lang.Object
  |
  +--MicroTAPAS.MicroActor
        |
        +--MicroTAPAS.MicroApplicationActor
              |
              +--MicroTAPAS.mobility.MobilityApplicationActor
                    |
                    +--MicroTester.v2_0.MicroTesterServer
All Implemented Interfaces:
ControlInterface, MicroActorInterface, java.io.Serializable

public class MicroTesterServer
extends MobilityApplicationActor

See Also:
Serialized Form

Field Summary
private  ServerInterface actorInterface
          Instance of own interface
private static java.lang.String LF
          Line-feed
 
Fields inherited from class MicroTAPAS.mobility.MobilityApplicationActor
DEBUG, doRegister, isRegistered
 
Fields inherited from class MicroTAPAS.MicroActor
bf, context, debug, fh, properties
 
Constructor Summary
MicroTesterServer()
          Constructor
 
Method Summary
 RequestResult actorPlugOut(boolean isMoved)
          Allows parent class to plug out this actor.
private  RequestResult closeApplication(boolean isMoved)
           
 void createInterface(java.lang.Object pActorInterface)
          Re-constructs an actor based on the information stored in its interface.
 java.lang.Object getInterface()
          Constructs an interface of this this actor, wherein all essential inforamtion about the actor should be stored.
private  void handleAction(RequestPars pRP)
          This is the main behaviour definition for this actor.
 RequestResult mobilityActorEntry(RequestPars rp)
          Common entry point for all MobilityApplicationActors.
private  void sendMessage(GAI client, java.lang.String[] message)
           
 
Methods inherited from class MicroTAPAS.mobility.MobilityApplicationActor
actorChangeBehaviour, actorChangeBehaviour, actorMove, actorRegister, actorRegisterCancel, applicationActorEntry, cleanUp, control, getMAGAI, getMMGAI, help, init, status, term
 
Methods inherited from class MicroTAPAS.MicroApplicationActor
actorBehaviourPlugIn, actorBehaviourPlugOut, ActorCapabilities, actorEntry, ActorPlay, actorPlugIn, actorPlugOut, anyOtherRequestType, closeBF, playChangesPlugIn, playPlugIn, playPlugOut, requestToActor, RoleSessionAction, subscribeCancel, subscribeReport, subscribeRequest
 
Methods inherited from class MicroTAPAS.MicroActor
findRoleSession, getGAI, start, terminalMove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LF

private static final java.lang.String LF
Line-feed

See Also:
Constant Field Values

actorInterface

private ServerInterface actorInterface
Instance of own interface

Constructor Detail

MicroTesterServer

public MicroTesterServer()
Constructor

Method Detail

mobilityActorEntry

public RequestResult mobilityActorEntry(RequestPars rp)
                                 throws java.lang.Exception
Common entry point for all MobilityApplicationActors.

Specified by:
mobilityActorEntry in class MobilityApplicationActor
Parameters:
rp - TAPAS-style request parameters.
Returns:
TAPAS-style result.
java.lang.Exception

handleAction

private void handleAction(RequestPars pRP)
                   throws java.lang.Exception
This is the main behaviour definition for this actor.

Parameters:
pRP - Request parameters
Returns:
Success or failure indication
java.lang.Exception

sendMessage

private void sendMessage(GAI client,
                         java.lang.String[] message)

closeApplication

private RequestResult closeApplication(boolean isMoved)

actorPlugOut

public RequestResult actorPlugOut(boolean isMoved)
Allows parent class to plug out this actor.

Parameters:
isMoved - Indicates whether plugOut is because of an actorMove procedure.

createInterface

public void createInterface(java.lang.Object pActorInterface)
Re-constructs an actor based on the information stored in its interface.

Specified by:
createInterface in class MobilityApplicationActor

getInterface

public java.lang.Object getInterface()
Constructs an interface of this this actor, wherein all essential inforamtion about the actor should be stored.

Specified by:
getInterface in class MobilityApplicationActor
Returns:
This actors interface


The Telematics Architecture for Plug-and-Play Systems (TAPAS) is a research project undertaken by the Norwegian University of Science and Technology's Telematics department which aims at developing an architecture for network-based service systems with a) flexibility and adaptability, b) robustness and survivability, and c) QoS awareness and resource control.

More information can be found at the project's homepage at http://tapas.item.ntnu.no and the project manager, Professor Finn Arve Aagesen, can be reached at finn.arve.aagesen@item.ntnu.no.