github.com/XiaoMi/Gaea@v1.2.5/util/mocks/pipeTest/assets/pipeTest的对象图.txt (about) 1 @startuml 2 3 namespace pipeTest { 4 object mockClient 5 object mockServer 6 } 7 8 mockClient : connRead 9 mockClient : connWrite 10 mockServer : connRead 11 mockServer : connWrite 12 13 note top of mockClient 14 DcMocker 类的对象,用来模拟客户端 15 end note 16 17 note top of mockServer 18 DcMocker 类的对象,用来模拟服务端 19 end note 20 21 namespace net { 22 object read0 23 object read1 24 object write0 25 object write1 26 } 27 28 note top of read0 29 read0 为 mockClient 的传送端 30 end note 31 32 note bottom of write0 33 write0 为 mockServer 的接收端 34 end note 35 36 note top of read1 37 read1 为 mockServer 的传送端 38 end note 39 40 note bottom of write1 41 write1 为 mockClient 的接收端 42 end note 43 44 read0 -- write0 45 read1 -- write1 46 47 mockClient::connRead *-- read0 48 mockClient::connWrite *-- write1 49 mockServer::connRead *-- read1 50 mockServer::connWrite *-- write0 51 52 @enduml