Uses of Interface
com.comphenix.protocol.injector.server.SocketInjector
Packages that use SocketInjector
-
Uses of SocketInjector in com.comphenix.protocol.injector.netty
Classes in com.comphenix.protocol.injector.netty that implement SocketInjectorModifier and TypeClassDescriptionstatic classRepresents a socket injector that foreards to the current channel injector.Methods in com.comphenix.protocol.injector.netty with parameters of type SocketInjectorModifier and TypeMethodDescriptionvoidChannelInjector.ChannelSocketInjector.transferState(SocketInjector delegate) -
Uses of SocketInjector in com.comphenix.protocol.injector.server
Classes in com.comphenix.protocol.injector.server that implement SocketInjectorMethods in com.comphenix.protocol.injector.server that return SocketInjectorModifier and TypeMethodDescriptionstatic SocketInjectorTemporaryPlayerFactory.getInjectorFromPlayer(org.bukkit.entity.Player player)Retrieve the injector from a given player if it contains one.abstract SocketInjectorAbstractInputStreamLookup.peekSocketInjector(SocketAddress address)Attempt to get a socket injector without blocking the thread.abstract SocketInjectorAbstractInputStreamLookup.waitSocketInjector(InputStream input)Retrieve the associated socket injector for a player.abstract SocketInjectorAbstractInputStreamLookup.waitSocketInjector(Socket socket)Retrieve an injector by its socket.abstract SocketInjectorAbstractInputStreamLookup.waitSocketInjector(SocketAddress address)Retrieve a injector by its address.Methods in com.comphenix.protocol.injector.server with parameters of type SocketInjectorModifier and TypeMethodDescriptionorg.bukkit.entity.PlayerTemporaryPlayerFactory.createTemporaryPlayer(org.bukkit.Server server, SocketInjector injector)Construct a temporary player with the given associated socket injector.protected voidAbstractInputStreamLookup.onPreviousSocketOverwritten(SocketInjector previous, SocketInjector current)If a player can hold a reference to its parent injector, this method will update that reference.static voidTemporaryPlayerFactory.setInjectorInPlayer(org.bukkit.entity.Player player, SocketInjector injector)Set the player injector, if possible.abstract voidAbstractInputStreamLookup.setSocketInjector(SocketAddress address, SocketInjector injector)Associate a given socket address to the provided socket injector.voidBukkitSocketInjector.transferState(SocketInjector delegate)voidSocketInjector.transferState(SocketInjector delegate)Invoked when a delegated socket injector transfers the state of one injector to the next.