| 接口 | 说明 |
|---|---|
| MessageToRunnable |
Convert the IO message to Runnable
Life cycle connection
|
| Ordered |
Ordered
|
| ProtocolHandler |
Protocol Handler
|
| ServerListener |
Server listening
Created by wangzihao on 2018/11/12/012.
|
| 类 | 说明 |
|---|---|
| AbstractChannelHandler<I,O> |
An abstract netty ChannelHandler
|
| AbstractNettyClient |
An abstract netty client
|
| AbstractNettyServer |
An abstract netty server
|
| AbstractProtocol |
An abstract Protocols Register
|
| AbstractProtocolDecoder |
AbstractProtocolDecoder
ACK flag : (0=Don't need, 1=Need)
-+------2B-------+--1B--+----1B----+-----8B-----+------1B-----+----------------dynamic---------------------+-------dynamic------------+
| packet length | type | ACK flag | version | Fields size | Fields | Body |
| 76 | 1 | 1 | NRPC/201 | 2 | 11requestMappingName6/hello10methodName8sayHello | {"age":10,"name":"wang"} |
-+---------------+------+----------+------------+-------------+--------------------------------------------+--------------------------+
|
| AbstractProtocolEncoder<T extends Packet> |
RPC encoder
ACK flag : (0=Don't need, 1=Need)
-+------2B-------+--1B--+----1B----+-----8B-----+------1B-----+----------------dynamic---------------------+-------dynamic------------+
| packet length | type | ACK flag | version | Fields size | Fields | Body |
| 76 | 1 | 1 | NRPC/201 | 2 | 11requestMappingName6/hello10methodName8sayHello | {"age":10,"name":"wang"} |
-+---------------+------+----------+------------+-------------+--------------------------------------------+--------------------------+
|
| AutoFlushChannelHandler |
Auto-flush data on channel after a read timeout.
|
| DispatcherChannelHandler |
Servlet processor (portal to the server)
|
| Packet |
Packet
2019/3/17/017.
|
| SimpleNettyClient |
An simple netty client
|
Copyright © 2021. All rights reserved.