normanmaurer / netty-in-action

2.07k stars 1.76k forks source link

8.4 Bootstrapping clients from a Channel #24

Open chhil opened 8 years ago

chhil commented 8 years ago

I am looking into bootstapping a client from a servers channel handler. If I have Server1

I am finding it difficult to understand how the data would flow in a setup like this. Inbound from client that is connected to my server1. Process the data and send it to the server2 connected by my client1. Get a response from server2. Do something with the response from server2 create a response and send it to the client connected to server1. If its possible, could you provide some snippets or pointers on how to deal with this? Did not find the book code provided in chap8 here.