Initializes this pipeline. This method MUST be called on each new instance before it's used as a pipeline for a channel.
()
| 3830 | * before it's used as a pipeline for a channel. |
| 3831 | */ |
| 3832 | RegionClient init() { |
| 3833 | final RegionClient client = new RegionClient(HBaseClient.this); |
| 3834 | super.addLast("idle_handler", this.timeout_handler); |
| 3835 | super.addLast("idle_cleanup", new RegionClientIdleStateHandler()); |
| 3836 | super.addLast("handler", client); |
| 3837 | return client; |
| 3838 | } |
| 3839 | |
| 3840 | @Override |
| 3841 | public void sendDownstream(final ChannelEvent event) { |