toggle menu
openrs2
jvm
switch theme
search in API
openrs2
/
org.openrs2.game.net
/
Rs2ChannelInitializer
Rs2Channel
Initializer
@
Singleton
class
Rs2ChannelInitializer
@
Inject
constructor
(
handlerProvider
:
Provider
<
LoginChannelHandler
>
,
loginUpstreamProtocol
:
Protocol
,
loginDownstreamProtocol
:
Protocol
)
:
ChannelInitializer
<
Channel
>
Members
Constructors
Rs2Channel
Initializer
Link copied to clipboard
@
Inject
constructor
(
handlerProvider
:
Provider
<
LoginChannelHandler
>
,
loginUpstreamProtocol
:
Protocol
,
loginDownstreamProtocol
:
Protocol
)
Functions
channel
Active
Link copied to clipboard
open
override
fun
channelActive
(
p0
:
ChannelHandlerContext
)
channel
Inactive
Link copied to clipboard
open
override
fun
channelInactive
(
p0
:
ChannelHandlerContext
)
channel
Read
Link copied to clipboard
open
override
fun
channelRead
(
p0
:
ChannelHandlerContext
,
p1
:
Any
)
channel
Read
Complete
Link copied to clipboard
open
override
fun
channelReadComplete
(
p0
:
ChannelHandlerContext
)
channel
Registered
Link copied to clipboard
override
fun
channelRegistered
(
p0
:
ChannelHandlerContext
)
channel
Unregistered
Link copied to clipboard
open
override
fun
channelUnregistered
(
p0
:
ChannelHandlerContext
)
channel
Writability
Changed
Link copied to clipboard
open
override
fun
channelWritabilityChanged
(
p0
:
ChannelHandlerContext
)
exception
Caught
Link copied to clipboard
open
override
fun
exceptionCaught
(
p0
:
ChannelHandlerContext
,
p1
:
Throwable
)
handler
Added
Link copied to clipboard
open
override
fun
handlerAdded
(
p0
:
ChannelHandlerContext
)
handler
Removed
Link copied to clipboard
open
override
fun
handlerRemoved
(
p0
:
ChannelHandlerContext
)
is
Sharable
Link copied to clipboard
open
fun
isSharable
(
)
:
Boolean
user
Event
Triggered
Link copied to clipboard
open
override
fun
userEventTriggered
(
p0
:
ChannelHandlerContext
,
p1
:
Any
)