Ignore:
Timestamp:
02/13/20 16:30:54 (5 years ago)
Author:
bart
Message:

Added ANAC2019 Example parties: Agentgg and WinkyAgent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/geniusweb/runserver/RunNego.java

    r8 r10  
    3838        /**
    3939         * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse
    40          *      response). Returns
    41          *      <ul>
    42          *      <li>URL with websocket address to contact the now running party.
    43          *      <li>SC_NOT_FOUND (404) if attempt is made to access non-running
    44          *      party.
    45          *      <li>SC_SERVICE_UNAVAILABLE (503) if there are no free slots to run
    46          *      the party.
    47          *      <li>SC_EXPECTATION_FAILED (417) if something else goes wrong during
    48          *      instantiating the party (then see logs for more details)
    49          *      </ul>
     40         *      response).
     41         *
     42         * @return the ID of the new started run. Or SC_BAD_REQUEST if the request
     43         *         can not be processed.
    5044         */
    5145        @Override
     
    6559                }
    6660                log.log(Level.INFO, "request to run Nego: " + settings);
    67                 RunningNego session = new RunningNego(settings,
     61                RunningNego running = new RunningNego(settings,
    6862                                RunningNegotiationsRepo.instance(), log);
    69                 session.start();
     63                running.start();
    7064                // set content type to prevent some browsers
    7165                // trying to parse this (eg as XML)
    7266                response.setContentType("application/json");
    73                 response.getWriter().append(session.getID());
     67                response.getWriter().append(running.getID());
    7468        }
    7569
Note: See TracChangeset for help on using the changeset viewer.