Package org.hpi.dialogue.protocol.request

Examples of org.hpi.dialogue.protocol.request.Request


  @Override
  public void run() {
    HPIServerProtocol serverProtocol = null;
    try {
      serverProtocol = new HPIServerProtocol(this.socket);
      Request clientRequest = serverProtocol.readRequest();
      Response response = null;

      // deciding the correct request
      if (clientRequest instanceof LoginRequest) { // login request
        response = this.doLogin((LoginRequest) clientRequest);
View Full Code Here

TOP

Related Classes of org.hpi.dialogue.protocol.request.Request

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.