1234567891011121314151617181920 |
- using System;
- using System.Collections.Generic;
- using CommonLang.IO;
- namespace CommonLang.Protocol
- {
- public interface IMessage : IExternalizable
- {
- int MessageID { get; set; }
- }
-
- abstract public class NetMessage : IExternalizable, IMessage
- {
- public int MessageID { get; set; }
- abstract public void WriteExternal(IOutputStream output);
- abstract public void ReadExternal(IInputStream input);
- }
- }
|