* More documentation for developers
This commit is contained in:
parent
65634bda11
commit
15aded0df7
@ -206,6 +206,9 @@ public class IdleStateHandler extends SimpleChannelUpstreamHandler
|
||||
// this.channelOpen() will not be invoked.
|
||||
// We have to initialize here instead.
|
||||
initialize(ctx);
|
||||
} else {
|
||||
// channelOpen event has not been fired yet.
|
||||
// this.channelOpen() will be invoked and initialization will occur there.
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -125,6 +125,9 @@ public class ReadTimeoutHandler extends SimpleChannelUpstreamHandler
|
||||
// this.channelOpen() will not be invoked.
|
||||
// We have to initialize here instead.
|
||||
initialize(ctx);
|
||||
} else {
|
||||
// channelOpen event has not been fired yet.
|
||||
// this.channelOpen() will be invoked and initialization will occur there.
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user