Examples of stopIt()


Examples of org.apache.uima.aae.spi.transport.UimaTransport.stopIt()

        try {

          UimaMessage message = transport.produceMessage(AsynchAEMessage.Stop,
                  AsynchAEMessage.Request, getName());
          transport.getUimaMessageDispatcher(entry.getKey()).dispatch(message);
          transport.stopIt();
          System.out.println("Service:" + getComponentName() + " Stopped Delegate Transport:"
                  + entry.getKey());
        } catch (Exception e) {
          if (UIMAFramework.getLogger(CLASS_NAME).isLoggable(Level.WARNING)) {
            UIMAFramework.getLogger(CLASS_NAME).logrb(Level.WARNING, getClass().getName(),
View Full Code Here

Examples of org.apache.uima.aae.spi.transport.UimaTransport.stopIt()

    if (transports.size() > 0) {
      Set<Entry<String, UimaTransport>> set = transports.entrySet();
      for (Entry<String, UimaTransport> entry : set) {
        UimaTransport transport = entry.getValue();
        try {
          transport.stopIt();
        } catch (Exception e) {
          if (UIMAFramework.getLogger(CLASS_NAME).isLoggable(Level.WARNING)) {
            UIMAFramework.getLogger(CLASS_NAME).logrb(Level.WARNING, CLASS_NAME.getName(),
                    "stopTransportLayer", UIMAEE_Constants.JMS_LOG_RESOURCE_BUNDLE,
                    "UIMAEE_service_exception_WARNING", getComponentName());
View Full Code Here

Examples of org.apache.uima.aae.spi.transport.UimaTransport.stopIt()

    if (transports.size() > 0) {
      Set<Entry<String, UimaTransport>> set = transports.entrySet();
      for (Entry<String, UimaTransport> entry : set) {
        UimaTransport transport = entry.getValue();
        try {
          transport.stopIt();
        } catch (Exception e) {
          if (UIMAFramework.getLogger(CLASS_NAME).isLoggable(Level.WARNING)) {
            UIMAFramework.getLogger(CLASS_NAME).logrb(Level.WARNING, CLASS_NAME.getName(),
                    "stopTransportLayer", UIMAEE_Constants.JMS_LOG_RESOURCE_BUNDLE,
                    "UIMAEE_service_exception_WARNING", getComponentName());
View Full Code Here

Examples of org.apache.uima.aae.spi.transport.UimaTransport.stopIt()

    if (transports.size() > 0) {
      Set<Entry<String, UimaTransport>> set = transports.entrySet();
      for (Entry<String, UimaTransport> entry : set) {
        UimaTransport transport = entry.getValue();
        try {
          transport.stopIt();
        } catch (Exception e) {
          if (UIMAFramework.getLogger(CLASS_NAME).isLoggable(Level.WARNING)) {
            UIMAFramework.getLogger(CLASS_NAME).logrb(Level.WARNING, CLASS_NAME.getName(),
                    "stopTransportLayer", UIMAEE_Constants.JMS_LOG_RESOURCE_BUNDLE,
                    "UIMAEE_service_exception_WARNING", getComponentName());
View Full Code Here

Examples of org.apache.uima.aae.spi.transport.UimaTransport.stopIt()

    if (transports.size() > 0) {
      Set<Entry<String, UimaTransport>> set = transports.entrySet();
      for (Entry<String, UimaTransport> entry : set) {
        UimaTransport transport = entry.getValue();
        try {
          transport.stopIt();
        } catch (Exception e) {
          if (UIMAFramework.getLogger(CLASS_NAME).isLoggable(Level.WARNING)) {
            UIMAFramework.getLogger(CLASS_NAME).logrb(Level.WARNING, CLASS_NAME.getName(),
                    "stopTransportLayer", UIMAEE_Constants.JMS_LOG_RESOURCE_BUNDLE,
                    "UIMAEE_service_exception_WARNING", getComponentName());
View Full Code Here

Examples of org.gudy.azureus2.core3.download.DownloadManager.stopIt()

            }
          }


          if (found) {
            dm.stopIt(DownloadManager.STATE_STOPPED, false, false);

            ManagerUtils.queue(dm, shell);
          }
        }
      }
View Full Code Here

Examples of org.gudy.azureus2.core3.download.DownloadManager.stopIt()

    }
   
//    console.out.println("DM was " + dm.getState());
    if ((newprio == DELETE) && (dm.getState() != DownloadManager.STATE_STOPPED)) {
      try {
        dm.stopIt( DownloadManager.STATE_STOPPED, false, false );
      } catch (Exception e) {
        console.out.println("Failed to stop torrent " + tnumber);
        return;
      }
    }
View Full Code Here

Examples of org.gudy.azureus2.core3.download.DownloadManager.stopIt()

        }
      }
    }
    if ((newprio == DELETE) && (dm.getState() == DownloadManager.STATE_STOPPED)) {
      try {
        dm.stopIt( DownloadManager.STATE_QUEUED, false, false );
      } catch (Exception e) {
        console.out.println("Failed to restart torrent " + tnumber);
        return;
      }
    }
View Full Code Here

Examples of stanfordlogic.game.Gamer.stopIt()

        {
            logger_.severe(gameId + ": Error computing payoff: " + e.getClass().getName() + " - " + e.getMessage());
        }
       
        // tell the game it's time to die.
        gamer.stopIt();
        games_.remove(gameId);
    }
   
    /**
     * Get the Gamer associated with <tt>gameId</tt>.
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.