public static AuroraProtocol getNewProtocol(FailoverProxy proxy, final GlobalStateInfo globalInfo,
      UrlParser urlParser) {
    AuroraProtocol newProtocol = new AuroraProtocol(urlParser, globalInfo, proxy.lock);
    newProtocol.setProxy(proxy);
    return newProtocol;
  }
public static AuroraProtocol getNewProtocol ( FailoverProxy proxy , final GlobalStateInfo globalInfo , UrlParser urlParser ) { AuroraProtocol newProtocol = new AuroraProtocol ( urlParser , globalInfo , proxy . lock ) ; newProtocol . setProxy ( proxy ) ; return newProtocol ; }
Initialize new protocol instance.

@param proxy      proxy
@param globalInfo server global variables information
@param urlParser  connection string data's
@return new AuroraProtocol