Examples of ClientImpl


Examples of org.apache.cxf.endpoint.ClientImpl

                                }
                            }
                        }
                        EndpointInfo ei = service.getEndpointInfo(endpointName);
                        Endpoint endpoint = new EndpointImpl(bus, service, ei);
                        client = new ClientImpl(bus, endpoint);
                    }
                }
            } catch (Exception ex) {
                //TODO
                ex.printStackTrace();
View Full Code Here

Examples of org.apache.tomcat.bayeux.ClientImpl

     * the Bayuex specification.
     */
    public int process(int prevops) throws BayeuxException {
        prevops = super.process(prevops);
        response = (HashMap<String, Object>)responseTemplate.clone();
        ClientImpl client = null;
        HttpError error = validate();
        if (error == null) {
            client = (ClientImpl) getTomcatBayeux().newClient("http-", null, false,getEvent());
            clientId = client.getId();
            client.setSupportedConnTypes(suppConnTypesFlag);
            client.setUseJsonFiltered(getExt().get(Bayeux.JSON_COMMENT_FILTERED_FIELD) != null);
            response.put(Bayeux.CLIENT_FIELD, client.getId());
            ((HashMap) response.get(Bayeux.ADVICE_FIELD)).put(Bayeux.RECONNECT_FIELD, Bayeux.RETRY_RESPONSE);
            ((HashMap) response.get(Bayeux.ADVICE_FIELD)).put(Bayeux.INTERVAL_FIELD, getReconnectInterval());
        }else {
            response.put(Bayeux.SUCCESSFUL_FIELD,Boolean.FALSE);
            response.put(Bayeux.ERROR_FIELD, error.toString());
View Full Code Here

Examples of org.cometd.server.ClientImpl

     * dojox.io.cometd.Destination)
     */

    @Override
    public ClientImpl newRemoteClient() {
        ClientImpl client = new AtmosphereBayeuxClient(this);
        addClient(client, null);
        return client;
    }
View Full Code Here

Examples of org.jboss.ws.core.jaxws.client.ClientImpl

         throw new IllegalArgumentException("SEI class cannot be null");
     
      try
      {
         ExecutorService executor = (ExecutorService)getExecutor();
         ClientProxy handler = new ClientProxy(executor, new ClientImpl(epMetaData, handlerResolver));
         ClassLoader cl = epMetaData.getClassLoader();
        
         T proxy;
         try
         {
View Full Code Here

Examples of org.mortbay.cometd.ClientImpl

     * dojox.io.cometd.Destination)
     */
    @Override
    public ClientImpl newRemoteClient()
    {
        ClientImpl client=new ContinuationClient(this);
        addClient(client,null);
        return client;
    }
View Full Code Here

Examples of org.voltdb.client.ClientImpl

     * @throws IOException
     */
    private ClientImpl createClientAndConnect() throws UnknownHostException, IOException
    {
        // Make client connections.
        ClientImpl clientTmp = (ClientImpl) ClientFactory.createClient(this.config);
        // ENG-6231: Only fail if we can't connect to any of the provided servers.
        boolean connectedAnything = false;
        for (String server : this.servers) {
            try {
                clientTmp.createConnection(server);
                connectedAnything = true;
            }
            catch (UnknownHostException e) {
            }
            catch (IOException e) {
            }
        }

        if (!connectedAnything) {
            try {
                clientTmp.close();
            } catch (InterruptedException ie) {}
            throw new IOException("Unable to connect to VoltDB cluster with servers: " + this.servers);
        }

        this.client.set(clientTmp);
View Full Code Here

Examples of pdp.scrabble.multiplayer.impl.ClientImpl

    }
  }

  public Client createClient(MainFrame mainFrame, String name) {
    try {
      return new ClientImpl(mainFrame, name);
    }
    catch (RemoteException ex) {
      Display.error("Client", "Cannot create client");
      return null;
    }
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.