Examples of Proxy


Examples of alexoft.OGameUltimate.proxy.Proxy

    jline.Terminal.getTerminal().initializeTerminal();
    reader.setDefaultPrompt(">");
    System.out.println("Loading Ogame Ultimate");
    OGameUltimate ogameUltimate = new OGameUltimate(args[0], args[1],
        args[2]);
    Proxy p = new Proxy();
    p.baseURL = args[2];
    String c[];

    while (ogameUltimate.running) {
      c = reader.readLine().split(" ");
View Full Code Here

Examples of ca.weblite.objc.Proxy

    }
   
    @Msg(selector="startApplication", like="NSObject.finalize")
    public void startApplication(){
        Client c = getClient();
        Proxy app = c.chain("NSApplication", "sharedApplication");
      
        Proxy topLevelObjects = c.chain("NSMutableArray", "array");
       
       
        Proxy filesOwner = c.chain(
                "NSDictionary",
                    "dictionaryWithObjectsAndKeys:",
                        this.getPeer()
                        str("NSOwner"),
                        topLevelObjects.getPeer(),
                        str("NSTopLevelObjects"),
                        null
        );

       
        app.send("setDelegate:", this);
       
       
       
        long res = (Long)c.send("NSBundle", "loadNibFile:externalNameTable:withZone:", "MainMenu.nib", filesOwner.getPeer(), null);
        int numTopLevelObjects = ((Long)topLevelObjects.send("count")).intValue();
       
        Proxy mainWindow = null;
       
        for ( int i=0; i<numTopLevelObjects; i++){
            Proxy obj = (Proxy)topLevelObjects.send("objectAtIndex:", i);
            if ( (Long)obj.send("isKindOfClass:", cls("NSWindow")) > 0 ){
                mainWindow = obj;
            } else {
               
                obj.dispose(false);
            }
        }
       
        //Proxy windowController = c.chain("NSWindowController", "alloc").chain("initWithWindow:", mainWindow.getPeer());
        //System.out.println("Window loaded? "+windowController.send("isWindowLoaded"));
View Full Code Here

Examples of com.clarkparsia.empire.annotation.runtime.Proxy

                            String aVarName = getProjectionVarName();

                            if (aBS.getValue(aVarName) instanceof URI && AnnotationChecker.isValid(getBeanClass())) {
                                if (EmpireOptions.ENABLE_QUERY_RESULT_PROXY) {
                                    aObj = new Proxy(getBeanClass(), asPrimaryKey(aBS.getValue(aVarName)), getSource());
                                }
                                else {
                                    aObj = RdfGenerator.fromRdf(getBeanClass(),
                                                                asPrimaryKey(aBS.getValue(aVarName)),
                                                                getSource());
View Full Code Here

Examples of com.cloud.agent.api.storage.DownloadCommand.Proxy

    if (_proxy == null) {
      return null;
    }
    try {
      URI uri = new URI(_proxy);
      Proxy prx = new Proxy(uri);
      return prx;
    } catch (URISyntaxException e) {
      return null;
    }
  } 
View Full Code Here

Examples of com.cloud.agent.api.storage.Proxy

        if (_proxy == null) {
            return null;
        }
        try {
            URI uri = new URI(_proxy);
            Proxy prx = new Proxy(uri);
            return prx;
        } catch (URISyntaxException e) {
            return null;
        }
    }
View Full Code Here

Examples of com.google.speedtracer.client.model.ChromeDebuggerDataInstance.Proxy

        }
      });
    } else {
      // We are dealing with RAW data (untransformed inspector data) that still
      // needs conversion.
      final Proxy proxy = new Proxy(tabId) {
        @Override
        protected void connectToDataSource() {
          // Tell the data_loader content script to start sending.
          port.postMessage(LoadFileDataInstance.createAck());
        }
      };

      // Connect the DataInstance to receive data from the data_loader
      port.getOnMessageEvent().addListener(new MessageEvent.Listener() {
        boolean receivedFirstMessage;
        public void onMessage(MessageEvent.Message message) {
          if (!receivedFirstMessage) {
            receivedFirstMessage = true;
            tabModel.dataInstance.onTimelineProfilerStarted();
          }         
          PageEventMessage pageEventMessage = message.cast();
          // We don't support versioning for RAW data since it would mean
          // maintaining support for multiple Chrome versions. We assume
          // that RAW data should always be the same format as the current
          // Chrome build.
          proxy.dispatchDebuggerEventRecord(pageEventMessage.getDebuggerRecord());
        }
      });

      tabModel.dataInstance = ChromeDebuggerDataInstance.create(proxy);
      browserConn.tabMap.put(tabId, tabModel);
View Full Code Here

Examples of com.groupon.odo.Proxy

class GenericProxyContainer {
    private static final Logger logger = LoggerFactory.getLogger(GenericProxyContainer.class);

    @Bean
    public ServletRegistrationBean dispatcherRegistration() {
        ServletRegistrationBean registration = new ServletRegistrationBean(new Proxy());
        registration.addUrlMappings("/*");

        return registration;
    }
View Full Code Here

Examples of com.ibm.sbt.service.proxy.Proxy

      // Calling app has provided the complete url, do not do url manipulation in clientservice
      b.append(args.getServiceUrl());
    }
   
    if(endpoint!=null) { // The endpoint can be null
      Proxy proxy = null;
      try {
        proxy = ProxyFactory.getProxyConfig(endpoint.getProxyConfig());
      } catch (ProxyConfigException e) {
        if (logger.isLoggable(Level.FINE)) {
          String msg = "Exception ocurred while fetching proxy information : composeRequestUrl";
          logger.log(Level.FINE, msg, e);
        }
      }
      StringBuilder proxyUrl = new StringBuilder(proxy.rewriteUrl(b.toString()));
      addUrlParameters(proxyUrl, args);
      return proxyUrl.toString();
    }
    return b.toString();
  }
View Full Code Here

Examples of com.jcraft.jsch.Proxy

            String proxyHost = SftpFileSystemConfigBuilder.getInstance().getProxyHost(fileSystemOptions);
            if (proxyHost != null)
            {
                int proxyPort = SftpFileSystemConfigBuilder.getInstance().getProxyPort(fileSystemOptions);
                SftpFileSystemConfigBuilder.ProxyType proxyType = SftpFileSystemConfigBuilder.getInstance().getProxyType(fileSystemOptions);
                Proxy proxy = null;
                if (SftpFileSystemConfigBuilder.PROXY_HTTP.equals(proxyType))
                {
                    if (proxyPort != 0)
                    {
                        proxy = new ProxyHTTP(proxyHost, proxyPort);
View Full Code Here

Examples of com.lbslocal.api.proxy.Proxy

  /**
   * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
   */
  protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    TokenValidated tokenValidated;
        Proxy proxy;
        try
        {
            // Levanta os dados da chamada
            proxy = new Proxy(request);
           
            // cetifica que é chamada de log
            if (proxy.TypeCall == Proxy.ServiceLog)
            {
              tokenValidated = Common.ValidateUser(proxy);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.