Honza Bambas: TCPSocket.js/TCPServerSocket.js IPC mess captured |
TCPSocket implemented in Javascript is a DOM technology providing web pages a direct access to TCP network sockets. We support both outgoing connections and listening to incoming connections via a server socket.
I’m constantly requested to review changes under this code in /dom/network where TCPSocket et al resides. And I’m always lost in the mess of all classes and objects involved in the IPC bridging.
As a side result of the last review request I’ve dived into the jungle and crated a “UML” flow chart that helps me understand – and not forget again – the complicated flow of IPC’ing in both TCPSocket and TCPServerSocket.
Here they are.
Not perfect, I’m no UML expert, but I think one can understand and make a picture that may be helpful
The post TCPSocket.js/TCPServerSocket.js IPC mess captured appeared first on mayhemer's blog.
http://www.janbambas.cz/tcpsocket-tcpserversocket-js-ipc-mess-captured/
Комментировать | « Пред. запись — К дневнику — След. запись » | Страницы: [1] [Новые] |