1234567891011121314151617181920212223 |
- using NetCore;
- using NetCore.Protocol.MemoryPack;
- namespace NetClientCore;
- public class ClientTestLogicalParsing : ILogicalParsing
- {
- public void Logic(object data, IConnection iConnection)
- {
- var memoryResponse = data as MemoryResponse;
- // Console.WriteLine("收到服务器消息" + memoryResponse.count);
- }
- public void AddConnection(IConnection iConnection)
- {
- throw new NotImplementedException();
- }
- public void RemoveConnection(IConnection iConnection)
- {
- throw new NotImplementedException();
- }
- }
|