AlexStocks / getty

a netty like asynchronous network I/O library based on tcp/udp/websocket; a bidirectional RPC framework based on JSON/Protobuf; a microservice framework based on zookeeper/etcd
Apache License 2.0
886 stars 184 forks source link

Gaosai branch #1

Closed gaosai01 closed 6 years ago

gaosai01 commented 6 years ago
  1. 删除了 session的方法: SetEventListener(EventListener) SetPkgHandler(ReadWriter) SetReader(Reader) SetWriter(Writer)

  2. 修改了EndPoint类

  3. Client新增了方法:SelectSession,RemoveSession;(后面优化锁范围和锁类型)

  4. NewSessionCallback 删除改为了interface,面向对象的方式

  5. 添加了个一般般的tcp-examples

  6. 修改了Options

  7. ...