Package rlVizLib.messaging

Examples of rlVizLib.messaging.GenericMessage


public class AgentShellListResponse extends AbstractResponse{
  private Vector<String> theAgentList = new Vector<String>();
  private Vector<ParameterHolder> theParamList = new Vector<ParameterHolder>();

  public AgentShellListResponse(String responseMessage) throws NotAnRLVizMessageException {
    GenericMessage theGenericResponse=new GenericMessage(responseMessage);

    String thePayLoadString=theGenericResponse.getPayload();

    StringTokenizer agentListTokenizer = new StringTokenizer(thePayLoadString, ":");

    String numAgentsToken=agentListTokenizer.nextToken();
View Full Code Here


    this.theObservations=theObservations;
  }

 
  public EnvObsForStateResponse(String responseMessage) throws NotAnRLVizMessageException {
    GenericMessage theGenericResponse = new GenericMessage(responseMessage);

    String thePayLoadString=theGenericResponse.getPayload();

    StringTokenizer obsTokenizer = new StringTokenizer(thePayLoadString, ":");

    theObservations = new Vector<Observation>();
    String numValuesToken=obsTokenizer.nextToken();
View Full Code Here

        return theTaskSpecPayload;
    }

//  Constructor when the benchmark is interpreting the returned response
    public EnvShellTaskSpecResponse(String theMessage) throws NotAnRLVizMessageException {
        GenericMessage theGenericResponse = new GenericMessage(theMessage);

        String thePayLoadString = theGenericResponse.getPayload();
        DataInputStream DIS=BinaryPayload.getInputStreamFromPayload(thePayLoadString);
        theTaskSpecPayload=new TaskSpecPayload(DIS);
    }
View Full Code Here

public class AgentShellUnLoadResponse extends AbstractResponse{
  public AgentShellUnLoadResponse(){}

//  Constructor when the benchmark is interpreting the returned response
  public AgentShellUnLoadResponse(String theMessage) throws NotAnRLVizMessageException {
    GenericMessage theGenericResponse=new GenericMessage(theMessage);
  }
View Full Code Here

TOP

Related Classes of rlVizLib.messaging.GenericMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.