Skip to content

Commit 4631728

Browse files
committed
Open up more functions
... that we wanna override.
1 parent 4672c49 commit 4631728

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/NIORedis/RESPChannelHandler.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ open class RedisChannelHandler : ChannelInboundHandler,
3333

3434
// MARK: - Channel Open/Close
3535

36-
public func channelActive(ctx: ChannelHandlerContext) {
36+
open func channelActive(ctx: ChannelHandlerContext) {
3737
ctx.fireChannelActive()
3838
}
39-
public func channelInactive(ctx: ChannelHandlerContext) {
39+
open func channelInactive(ctx: ChannelHandlerContext) {
4040
#if false // this doesn't gain us anything?
4141
switch parser.state {
4242
case .protocolError, .start: break // all good
@@ -68,7 +68,7 @@ open class RedisChannelHandler : ChannelInboundHandler,
6868
ctx.fireChannelRead(self.wrapInboundOut(value))
6969
}
7070

71-
public func errorCaught(ctx: ChannelHandlerContext, error: Error) {
71+
open func errorCaught(ctx: ChannelHandlerContext, error: Error) {
7272
ctx.fireErrorCaught(InboundErr.TransportError(error))
7373
}
7474

0 commit comments

Comments
 (0)