Class ChannelHelper
java.lang.Object
com.github.retrooper.packetevents.netty.channel.ChannelHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
static Object
fireChannelRead
(Object channel, Object buffer) static Object
fireChannelReadInContext
(Object channel, String ctx, Object buffer) static Object
static Object
flushInContext
(Object channel, String ctx) static Object
getPipeline
(Object channel) static Object
getPipelineContext
(Object channel, String handlerName) static Object
getPipelineHandler
(Object channel, String name) static boolean
static SocketAddress
localAddress
(Object channel) pipelineHandlerNames
(Object channel) static String
pipelineHandlerNamesAsString
(Object channel) static Object
pooledByteBuf
(Object channel) static SocketAddress
remoteAddress
(Object channel) static void
runInEventLoop
(Object channel, Runnable runnable) static Object
static Object
writeAndFlush
(Object channel, Object buffer) static Object
writeAndFlushInContext
(Object channel, String ctx, Object buffer) static Object
writeInContext
(Object channel, String ctx, Object buffer)
-
Constructor Details
-
ChannelHelper
public ChannelHelper()
-
-
Method Details
-
remoteAddress
-
localAddress
-
isOpen
-
close
-
write
-
flush
-
writeAndFlush
-
fireChannelRead
-
writeInContext
-
flushInContext
-
writeAndFlushInContext
-
fireChannelReadInContext
-
pipelineHandlerNames
-
pipelineHandlerNamesAsString
-
getPipeline
-
getPipelineHandler
-
getPipelineContext
-
pooledByteBuf
-
runInEventLoop
-