Package net.bnubot.core

Examples of net.bnubot.core.ChatQueue


          if(bnSubject != null) {
            bnSubject.sendChat("Updated to " + vnLatest.toString() + "; restarting", whisperBack);

            // Wait a maximum of 10 seconds for the queue to empty
            long target = System.currentTimeMillis() + 10000;
            ChatQueue cq = bnSubject.getConnection().getProfile().getChatQueue();
            while((cq.size() > 0) && (target > System.currentTimeMillis())) {
              Thread.sleep(100);
              Thread.yield();
            }
          }
View Full Code Here

TOP

Related Classes of net.bnubot.core.ChatQueue

Copyright © 2018 www.massapicom. 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.