using XGame.Framework.Time; namespace XGame.Framework.Network { /// /// 网络会话的上下文 /// internal interface ISessionContext { ITimeModule Time { get; } IRemoteSession Session { get; } IMsgEncryptor Encryptor { get; } IMsgCompressor Compressor { get; } IMsgGenerator Generator { get; } IMsgProcesser Processer { get; } IFrameSynchronizer Synchronizer { get; } ISerializer Serializer { get; } } }