Package com.comphenix.protocol.async

Examples of com.comphenix.protocol.async.AsyncFilterManager


    if (reporter == null)
      throw new IllegalArgumentException("reporter cannot be NULL.");
    if (classLoader == null)
      throw new IllegalArgumentException("classLoader cannot be NULL.");
   
    asyncManager = new AsyncFilterManager(reporter, server.getScheduler());
    nettyEnabled = false;
   
    // Spigot
    if (SpigotPacketInjector.canUseSpigotListener()) {
      // If the server hasn't loaded yet - wait
View Full Code Here


     
      // Attempt to create task
      packetTask = server.getScheduler().scheduleSyncRepeatingTask(this, new Runnable() {
        @Override
        public void run() {
          AsyncFilterManager manager = (AsyncFilterManager) protocolManager.getAsynchronousManager();
         
          // We KNOW we're on the main thread at the moment
          manager.sendProcessedPackets(tickCounter++, true);
       
          // House keeping
          updateConfiguration();
         
          // Check for updates too
View Full Code Here

TOP

Related Classes of com.comphenix.protocol.async.AsyncFilterManager

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.