ClientTestLogicalParsing.cs 571 B

1234567891011121314151617181920212223
  1. using NetCore;
  2. using NetCore.Protocol.MemoryPack;
  3. namespace NetClientCore;
  4. public class ClientTestLogicalParsing : ILogicalParsing
  5. {
  6. public void Logic(object data, IConnection iConnection)
  7. {
  8. var memoryResponse = data as MemoryResponse;
  9. // Console.WriteLine("收到服务器消息" + memoryResponse.count);
  10. }
  11. public void AddConnection(IConnection iConnection)
  12. {
  13. throw new NotImplementedException();
  14. }
  15. public void RemoveConnection(IConnection iConnection)
  16. {
  17. throw new NotImplementedException();
  18. }
  19. }