Examples of ChannelManager


Examples of com.trilead.ssh2.channel.ChannelManager

    if (am == null)
      am = new AuthenticationManager(tm);

    if (cm == null)
      cm = new ChannelManager(tm);

    if (user == null)
      throw new IllegalArgumentException("user argument is null");

    if (pem == null)
View Full Code Here

Examples of com.trilead.ssh2.channel.ChannelManager

    if (am == null)
      am = new AuthenticationManager(tm);

    if (cm == null)
      cm = new ChannelManager(tm);

    if (user == null)
      throw new IllegalArgumentException("user argument is null");

    authenticated = am.authenticateInteractive(user, submethods, cb);
View Full Code Here

Examples of com.trilead.ssh2.channel.ChannelManager

    if (am == null)
      am = new AuthenticationManager(tm);

    if (cm == null)
      cm = new ChannelManager(tm);

    if (user == null)
      throw new IllegalArgumentException("user argument is null");

    if (password == null)
View Full Code Here

Examples of eu.stratosphere.runtime.io.network.ChannelManager

        ConfigConstants.TASK_MANAGER_NETTY_HIGH_WATER_MARK,
        ConfigConstants.DEFAULT_TASK_MANAGER_NETTY_HIGH_WATER_MARK);

    // Initialize the channel manager
    try {
      this.channelManager = new ChannelManager(
          this.lookupService, this.localInstanceConnectionInfo,
          numBuffers, bufferSize, numInThreads, numOutThreads, lowWaterMark, highWaterMark);
    } catch (IOException ioe) {
      LOG.error(StringUtils.stringifyException(ioe));
      throw new Exception("Failed to instantiate Byte-buffered channel manager. " + ioe.getMessage(), ioe);
View Full Code Here

Examples of org.apache.flink.runtime.io.network.ChannelManager

    final CountDownLatch latch = new CountDownLatch(numSubtasks);

    // --------------------------------------------------------------------
    // setup
    // --------------------------------------------------------------------
    ChannelManager channelManager = mock(ChannelManager.class);
    doAnswer(new VerifyEnvelopes(latch, numToSendPerSubtask))
        .when(channelManager).dispatchFromNetwork(Matchers.<Envelope>anyObject());

    final NettyConnectionManager senderConnManager = new NettyConnectionManager(localhost, BIND_PORT, BUFFER_SIZE,
        numInThreads, numOutThreads, -1, -1);
View Full Code Here

Examples of org.apache.flink.runtime.io.network.ChannelManager

          networkConnectionManager = new NettyConnectionManager(localInstanceConnectionInfo.address(),
              localInstanceConnectionInfo.dataPort(), bufferSize, numInThreads, numOutThreads, lowWaterMark, highWaterMark);
          break;
      }

      channelManager = new ChannelManager(lookupService, localInstanceConnectionInfo, numBuffers, bufferSize, networkConnectionManager);
    } catch (IOException ioe) {
      LOG.error(StringUtils.stringifyException(ioe));
      throw new Exception("Failed to instantiate ChannelManager.", ioe);
    }
   
View Full Code Here

Examples of org.asynchttpclient.providers.netty.channel.ChannelManager

                : new NettyAsyncHttpProviderConfig();

        allowStopNettyTimer = nettyConfig.getNettyTimer() == null;
        nettyTimer = allowStopNettyTimer ? newNettyTimer() : nettyConfig.getNettyTimer();

        channelManager = new ChannelManager(config, nettyConfig, nettyTimer);
        requestSender = new NettyRequestSender(config, nettyConfig, channelManager, nettyTimer, closed);
        channelManager.configureBootstraps(requestSender, closed);
    }
View Full Code Here

Examples of org.ethereum.net.server.ChannelManager

    try {
      logger.info("Call() tx: {}", tx.toString());

            Wallet wallet = worldManager.getWallet();
            ChannelManager channelManager = worldManager.getChannelManager();

      WalletTransaction walletTransaction = wallet.addByWalletTransaction(tx);
      channelManager.sendTransaction(tx);

      while (walletTransaction.getApproved() < 1) {
        sleep(10);
      }
      logger.info("return approved: {}", walletTransaction.getApproved());
View Full Code Here

Examples of org.exoplatform.services.jcr.ext.replication.transport.ChannelManager

   public File getWorkspaceData(String repository, String workspace) throws RemoteWorkspaceInitializationException
   {

      String id = IdGenerator.generate();

      ChannelManager channelManager =
         new ChannelManager(channelConfig.replaceAll(IP_ADRESS_TEMPLATE, bindIpAddress), channelName + "_" + repository
            + "_" + workspace + "_" + id, 2);

      RemoteTransport remoteTransport = new RemoteTransportImpl(channelManager, tempDir, dataSourceUrl);

      try
View Full Code Here

Examples of org.exoplatform.services.jcr.ext.replication.transport.ChannelManager

      @PathParam("workspaceName") String workspaceName, @PathParam("id") String id)
   {
      String result = "OK";

      // init transport
      ChannelManager channelManager =
         new ChannelManager(channelConfig.replaceAll(IP_ADRESS_TEMPLATE, bindIpAddress), channelName + "_"
            + repositoryName + "_" + workspaceName + "_" + id, 2);
      RemoteTransport remoteTransport = new RemoteTransportImpl(channelManager, tempDir, dataSourceUrl);

      try
      {
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.