Commit graph

3 commits

Author SHA1 Message Date
Marten Seemann
dacc94ccba rename the sessionMap to packetHandlerMap 2018-06-23 08:20:29 +07:00
Marten Seemann
b3fd768a61 use a smaller packetHandler interface
The packetHandler interface just needs two methods: one for handling
packets, and one for closing.
2018-06-23 08:16:51 +07:00
Marten Seemann
9c5986945e refactor the map of sessions into a separate struct 2018-05-30 21:10:44 +08:00