diff --git a/Javadoc/allclasses-frame.html b/Javadoc/allclasses-frame.html index a83084a9..85e60cd6 100644 --- a/Javadoc/allclasses-frame.html +++ b/Javadoc/allclasses-frame.html @@ -2,9 +2,9 @@ - + All Classes - + @@ -17,6 +17,7 @@
  • AsynchronousManager
  • AsyncListenerHandler
  • AsyncMarker
  • +
  • AsyncRunnable
  • BackgroundCompiler
  • CollectionGenerator
  • CompiledStructureModifier
  • @@ -30,10 +31,12 @@
  • FuzzyReflection
  • InstanceProvider
  • IntEnum
  • +
  • ListenerInvoker
  • ListenerPriority
  • ListeningWhitelist
  • MethodUtils
  • -
  • NetworkServerInjector
  • +
  • NetworkServerInjector
  • +
  • ObjectCloner
  • PacketAdapter
  • PacketConstructor
  • PacketConstructor.BukkitUnwrapper
  • @@ -47,16 +50,20 @@
  • Packets.Client
  • Packets.Server
  • PacketStream
  • +
  • PlayerInjectionHandler
  • +
  • PlayerLoggedOutException
  • PrimitiveGenerator
  • PrimitiveUtils
  • PrioritizedListener
  • ProtocolLibrary
  • ProtocolManager
  • SortedCopyOnWriteArray
  • +
  • SortedCopyOnWriteArrayTest
  • Statistics
  • StructureCache
  • StructureCompiler
  • StructureModifier
  • +
  • StructureModifierTest
  • VolatileField
  • diff --git a/Javadoc/allclasses-noframe.html b/Javadoc/allclasses-noframe.html index e1e4d085..b4669c8c 100644 --- a/Javadoc/allclasses-noframe.html +++ b/Javadoc/allclasses-noframe.html @@ -2,9 +2,9 @@ - + All Classes - + @@ -17,6 +17,7 @@
  • AsynchronousManager
  • AsyncListenerHandler
  • AsyncMarker
  • +
  • AsyncRunnable
  • BackgroundCompiler
  • CollectionGenerator
  • CompiledStructureModifier
  • @@ -30,10 +31,12 @@
  • FuzzyReflection
  • InstanceProvider
  • IntEnum
  • +
  • ListenerInvoker
  • ListenerPriority
  • ListeningWhitelist
  • MethodUtils
  • -
  • NetworkServerInjector
  • +
  • NetworkServerInjector
  • +
  • ObjectCloner
  • PacketAdapter
  • PacketConstructor
  • PacketConstructor.BukkitUnwrapper
  • @@ -47,16 +50,20 @@
  • Packets.Client
  • Packets.Server
  • PacketStream
  • +
  • PlayerInjectionHandler
  • +
  • PlayerLoggedOutException
  • PrimitiveGenerator
  • PrimitiveUtils
  • PrioritizedListener
  • ProtocolLibrary
  • ProtocolManager
  • SortedCopyOnWriteArray
  • +
  • SortedCopyOnWriteArrayTest
  • Statistics
  • StructureCache
  • StructureCompiler
  • StructureModifier
  • +
  • StructureModifierTest
  • VolatileField
  • diff --git a/Javadoc/com/comphenix/protocol/Application.html b/Javadoc/com/comphenix/protocol/Application.html index 1bcb8a41..d21dabae 100644 --- a/Javadoc/com/comphenix/protocol/Application.html +++ b/Javadoc/com/comphenix/protocol/Application.html @@ -2,9 +2,9 @@ - + Application - + diff --git a/Javadoc/com/comphenix/protocol/AsynchronousManager.html b/Javadoc/com/comphenix/protocol/AsynchronousManager.html index b9a78dd4..021c9f11 100644 --- a/Javadoc/com/comphenix/protocol/AsynchronousManager.html +++ b/Javadoc/com/comphenix/protocol/AsynchronousManager.html @@ -2,9 +2,9 @@ - + AsynchronousManager - + @@ -195,7 +195,7 @@
    Registers an asynchronous packet handler.

    To start listening asynchronously, pass the getListenerLoop() runnable to a different thread.

    -
    Parameters:
    plugin - - the plugin that is registering the handler.
    listener - - the packet listener that will recieve these asynchronous events.
    +
    Parameters:
    listener - - the packet listener that will recieve these asynchronous events.
    Returns:
    An asynchrouns handler.
    diff --git a/Javadoc/com/comphenix/protocol/PacketStream.html b/Javadoc/com/comphenix/protocol/PacketStream.html index fb0d0a48..666a741c 100644 --- a/Javadoc/com/comphenix/protocol/PacketStream.html +++ b/Javadoc/com/comphenix/protocol/PacketStream.html @@ -2,9 +2,9 @@ - + PacketStream - + diff --git a/Javadoc/com/comphenix/protocol/Packets.Client.html b/Javadoc/com/comphenix/protocol/Packets.Client.html index 1dc01d3a..85cd10c1 100644 --- a/Javadoc/com/comphenix/protocol/Packets.Client.html +++ b/Javadoc/com/comphenix/protocol/Packets.Client.html @@ -2,9 +2,9 @@ - + Packets.Client - + diff --git a/Javadoc/com/comphenix/protocol/Packets.Server.html b/Javadoc/com/comphenix/protocol/Packets.Server.html index 50111a6d..274e9826 100644 --- a/Javadoc/com/comphenix/protocol/Packets.Server.html +++ b/Javadoc/com/comphenix/protocol/Packets.Server.html @@ -2,9 +2,9 @@ - + Packets.Server - + diff --git a/Javadoc/com/comphenix/protocol/Packets.html b/Javadoc/com/comphenix/protocol/Packets.html index a869247b..167cb83a 100644 --- a/Javadoc/com/comphenix/protocol/Packets.html +++ b/Javadoc/com/comphenix/protocol/Packets.html @@ -2,9 +2,9 @@ - + Packets - + diff --git a/Javadoc/com/comphenix/protocol/ProtocolLibrary.html b/Javadoc/com/comphenix/protocol/ProtocolLibrary.html index ee8f6b3f..9f246e16 100644 --- a/Javadoc/com/comphenix/protocol/ProtocolLibrary.html +++ b/Javadoc/com/comphenix/protocol/ProtocolLibrary.html @@ -2,9 +2,9 @@ - + ProtocolLibrary - + diff --git a/Javadoc/com/comphenix/protocol/ProtocolManager.html b/Javadoc/com/comphenix/protocol/ProtocolManager.html index ac9fd7c3..02b461fb 100644 --- a/Javadoc/com/comphenix/protocol/ProtocolManager.html +++ b/Javadoc/com/comphenix/protocol/ProtocolManager.html @@ -2,9 +2,9 @@ - + ProtocolManager - + diff --git a/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html b/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html index 85bc2c9e..b6235d91 100644 --- a/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html +++ b/Javadoc/com/comphenix/protocol/async/AsyncFilterManager.html @@ -2,9 +2,9 @@ - + AsyncFilterManager - + @@ -208,38 +208,45 @@ implements +AsyncListenerHandler +registerAsyncHandler(PacketListener listener, + boolean autoInject) +
    Registers an asynchronous packet handler.
    + + + void scheduleAsyncTask(org.bukkit.plugin.Plugin plugin, java.lang.Runnable runnable)
    Used to create a default asynchronous task.
    - + void sendProcessedPackets(int tickCounter, boolean onMainThread)
    Send any due packets, or clean up packets that have expired.
    - + void signalPacketUpdate(PacketEvent packet)
    Signal that a packet is ready to be transmitted.
    - + void signalProcessingDone(PacketEvent packet)
    Signal that a packet has finished processing.
    - + void unregisterAsyncHandler(AsyncListenerHandler handler)
    Unregisters and closes the given asynchronous handler.
    - + void unregisterAsyncHandlers(org.bukkit.plugin.Plugin plugin)
    Unregisters every asynchronous handler associated with this plugin.
    @@ -304,6 +311,24 @@ implements Returns:
    An asynchrouns handler.
    + + + + diff --git a/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html b/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html index 99218096..60b576c1 100644 --- a/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html +++ b/Javadoc/com/comphenix/protocol/async/AsyncListenerHandler.html @@ -2,9 +2,9 @@ - + AsyncListenerHandler - + @@ -155,9 +155,9 @@ extends java.lang.Object getAsyncListener()  -java.lang.Runnable +AsyncRunnable getListenerLoop() -
    Create a runnable that will initiate the listener loop.
    +
    Create a worker that will initiate the listener loop.
    @@ -167,13 +167,43 @@ extends java.lang.Object +int +getWorkers() +
    Retrieve the current number of registered workers.
    + + + boolean isCancelled()  + +void +setWorkers(int count) +
    Set the current number of workers.
    + + void start() -
    Start the asynchronous listener using the Bukkit scheduler.
    +
    Start a singler worker thread handling the asynchronous.
    + + + +void +start(int count) +
    Start multiple worker threads for this listener.
    + + + +void +stop() +
    Stop a worker thread.
    + + + +void +stop(int count) +
    Stop the given amount of worker threads.
    @@ -235,6 +265,17 @@ extends java.lang.Object
    public PacketListener getAsyncListener()
    + + + + @@ -264,31 +305,79 @@ extends java.lang.Object - - - - - diff --git a/Javadoc/com/comphenix/protocol/events/package-frame.html b/Javadoc/com/comphenix/protocol/events/package-frame.html index b3a482ce..48663053 100644 --- a/Javadoc/com/comphenix/protocol/events/package-frame.html +++ b/Javadoc/com/comphenix/protocol/events/package-frame.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.events - + diff --git a/Javadoc/com/comphenix/protocol/events/package-summary.html b/Javadoc/com/comphenix/protocol/events/package-summary.html index aee4ffec..10c1ba76 100644 --- a/Javadoc/com/comphenix/protocol/events/package-summary.html +++ b/Javadoc/com/comphenix/protocol/events/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.events - + diff --git a/Javadoc/com/comphenix/protocol/events/package-tree.html b/Javadoc/com/comphenix/protocol/events/package-tree.html index 1475047e..c61d0b56 100644 --- a/Javadoc/com/comphenix/protocol/events/package-tree.html +++ b/Javadoc/com/comphenix/protocol/events/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.events Class Hierarchy - + diff --git a/Javadoc/com/comphenix/protocol/events/package-use.html b/Javadoc/com/comphenix/protocol/events/package-use.html index b3d30c63..97583022 100644 --- a/Javadoc/com/comphenix/protocol/events/package-use.html +++ b/Javadoc/com/comphenix/protocol/events/package-use.html @@ -2,9 +2,9 @@ - + Uses of Package com.comphenix.protocol.events - + @@ -95,6 +95,10 @@ com.comphenix.protocol.injector   + +com.comphenix.protocol.injector.player +  + @@ -235,6 +239,28 @@ +
  • + + + + + + + + + + + + + + + +
    Classes in com.comphenix.protocol.events used by com.comphenix.protocol.injector.player 
    Class and Description
    PacketContainer +
    Represents a Minecraft packet indirectly.
    +
    PacketListener +
    Represents a listener that recieves notifications when packets are sent or recieved.
    +
    +
  • diff --git a/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html b/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html new file mode 100644 index 00000000..925f24e8 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/ListenerInvoker.html @@ -0,0 +1,249 @@ + + + + + +ListenerInvoker + + + + + + + +
    + + + + + +
    + + + +
    +
    com.comphenix.protocol.injector
    +

    Interface ListenerInvoker

    +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + + +
    + + + + + +
    + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html index 2d1eba09..1ae8c00d 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.BukkitUnwrapper.html @@ -2,9 +2,9 @@ - + PacketConstructor.BukkitUnwrapper - + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html index 836923fd..200fc5d5 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.Unwrapper.html @@ -2,9 +2,9 @@ - + PacketConstructor.Unwrapper - + diff --git a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html index 46d394c8..8fbe5b32 100644 --- a/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html +++ b/Javadoc/com/comphenix/protocol/injector/PacketConstructor.html @@ -2,9 +2,9 @@ - + PacketConstructor - + @@ -36,7 +36,7 @@ -protected com.comphenix.protocol.injector.PlayerInjector -PacketFilterManager.getHookInstance(org.bukkit.entity.Player player, - PacketFilterManager.PlayerInjectHooks hook) -
    Used to construct a player hook.
    - - - void PacketFilterManager.setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook)
    Sets how the server packets are read.
    @@ -139,6 +136,41 @@ the order they are declared. +
  • + + +

    Uses of PacketFilterManager.PlayerInjectHooks in com.comphenix.protocol.injector.player

    + + + + + + + + + + + + +
    Methods in com.comphenix.protocol.injector.player that return PacketFilterManager.PlayerInjectHooks 
    Modifier and TypeMethod and Description
    PacketFilterManager.PlayerInjectHooksPlayerInjectionHandler.getPlayerHook() +
    Retrieves how the server packets are read.
    +
    + + + + + + + + + + + + +
    Methods in com.comphenix.protocol.injector.player with parameters of type PacketFilterManager.PlayerInjectHooks 
    Modifier and TypeMethod and Description
    voidPlayerInjectionHandler.setPlayerHook(PacketFilterManager.PlayerInjectHooks playerHook) +
    Sets how the server packets are read.
    +
    +
  • @@ -154,7 +186,7 @@ the order they are declared.
  • Package
  • Class
  • -
  • Tree
  • +
  • Tree
  • Deprecated
  • Index
  • Help
  • diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html index 5c258453..b2fa7f6d 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PacketFilterManager.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PacketFilterManager - + @@ -28,7 +28,7 @@
  • Package
  • Class
  • -
  • Tree
  • +
  • Tree
  • Deprecated
  • Index
  • Help
  • @@ -65,48 +65,7 @@

    Uses of Class
    com.comphenix.protocol.injector.PacketFilterManager

    -
    - -
    +
    No usage of com.comphenix.protocol.injector.PacketFilterManager
    @@ -118,7 +77,7 @@
  • Package
  • Class
  • -
  • Tree
  • +
  • Tree
  • Deprecated
  • Index
  • Help
  • diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html new file mode 100644 index 00000000..36a2df29 --- /dev/null +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PlayerLoggedOutException.html @@ -0,0 +1,158 @@ + + + + + +Uses of Class com.comphenix.protocol.injector.PlayerLoggedOutException + + + + + + + +
    + + + + + +
    + + +
    +

    Uses of Class
    com.comphenix.protocol.injector.PlayerLoggedOutException

    +
    +
    + +
    + +
    + + + + + +
    + + + + diff --git a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html index dc97b3b1..e1a1da05 100644 --- a/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html +++ b/Javadoc/com/comphenix/protocol/injector/class-use/PrioritizedListener.html @@ -2,9 +2,9 @@ - + Uses of Class com.comphenix.protocol.injector.PrioritizedListener - + @@ -28,7 +28,7 @@
  • Package
  • Class
  • -
  • Tree
  • +
  • Tree
  • Deprecated
  • Index
  • Help
  • @@ -76,14 +76,10 @@ -com.comphenix.protocol.async -  - - com.comphenix.protocol.concurrency   - + com.comphenix.protocol.injector   @@ -92,26 +88,6 @@
  • Exceptions

    diff --git a/Javadoc/com/comphenix/protocol/reflect/package-summary.html b/Javadoc/com/comphenix/protocol/reflect/package-summary.html index 5f36f135..3f97a6ba 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-summary.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-summary.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.reflect - + @@ -117,18 +117,28 @@ +ObjectCloner + +
    Can copy an object field by field.
    + + + PrimitiveUtils
    Contains static utility methods pertaining to primitive types and their corresponding wrapper types.
    - + StructureModifier<TField>
    Provides list-oriented access to the fields of a Minecraft packet.
    + +StructureModifierTest +  + VolatileField diff --git a/Javadoc/com/comphenix/protocol/reflect/package-tree.html b/Javadoc/com/comphenix/protocol/reflect/package-tree.html index bbcc29fe..652543bc 100644 --- a/Javadoc/com/comphenix/protocol/reflect/package-tree.html +++ b/Javadoc/com/comphenix/protocol/reflect/package-tree.html @@ -2,9 +2,9 @@ - + com.comphenix.protocol.reflect Class Hierarchy - + @@ -78,8 +78,10 @@
  • com.comphenix.protocol.reflect.FuzzyReflection
  • com.comphenix.protocol.reflect.IntEnum
  • com.comphenix.protocol.reflect.MethodUtils
  • +
  • com.comphenix.protocol.reflect.ObjectCloner
  • com.comphenix.protocol.reflect.PrimitiveUtils
  • com.comphenix.protocol.reflect.StructureModifier<TField>
  • +
  • com.comphenix.protocol.reflect.StructureModifierTest
  • java.lang.Throwable (implements java.io.Serializable)