Home > Back-end >  Used of netty bosses? I have a question
Used of netty bosses? I have a question

Time:09-25

When using netty server sends the different data, such as sending the order data, to return a single data, the client how to discern what kind of data, and then to deal with? Bosses grant instruction,

CodePudding user response:

Defines the message format, according to the format, order type,

CodePudding user response:

As described above, each packet has submitted to the literary style, for example, message type, {type: 1, the body: {name: clothes, price: 130}} 1-2 - a refund order under the single client is data and analytic type decides how to operate

CodePudding user response:

The server is defined data types, had told the client, like I this figure

CodePudding user response:

reference 3/f a reply from the underlying program apes looked:
server is defined data types, it is good to tell the client, like I this figure
understand, thank you for your brother ~

CodePudding user response:

reference salty hum restaurant on the second floor response:
as described above, each packet has submitted to the literary style, for example, message type, {type: 1, the body: {name: clothes, price: 130}} 1-2 - a refund order under the single client is data and analytic type to decide how to operate the
got it ~ thank you brother!

CodePudding user response:

reference 1st floor oh_Maxy response:
defines the message format, according to the format, order type to judge,
thank you for your brother ~
  • Related