常用方法
常用方法
常用方法
常用方法
public void Register(IMessageProcessor processor) { int mType = EnumHelper.ToValue <RawMessageType>(processor.MessageType()); processors[mType] = processor; logger.InfoFormat("register message-type#{0}({1}) with processor#{2}", processor.MessageType(), mType, processor); }