Package it.hakvoort.neuroclient.reply

Examples of it.hakvoort.neuroclient.reply.StatusReply


    }
  }

  private void parseStatus(String line) {
    if (reply == null) {
      reply = new StatusReply();

      if (line.startsWith("200")) {
        reply.setResponseCode(ResponseCode.OK);
      } else if (line.startsWith("400")) {
        reply.setResponseCode(ResponseCode.ERROR);
View Full Code Here


   
    // register this class as listener
    agent.addPacketListener(new ExampleDisplayAgent());
   
    // get the status of NeuroServer
    StatusReply statusReply = agent.getStatus();
   
    // get the header of client 0
    HeaderReply headerReply = agent.getHeader(0);
   
    // get the role of this agent
View Full Code Here

TOP

Related Classes of it.hakvoort.neuroclient.reply.StatusReply

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.