public NetMQMsgReceive( IHubContext <MessageHub> hubContext, MsgConfig msgConfig, MsgIntoDB _msgIntoDB, IMsgSend MsgSend) { this.hubContext = hubContext; _DataPublisherServePubString = msgConfig.MQUrlPublisherServePubString; //_DataPublisherServePubString = "tcp://192.168.31.28:6556"; this.msgIntoDB = _msgIntoDB; this.msgSend = MsgSend; }
public MsgHandling(IMsgSend MsgSend) { this.msgSend = MsgSend; }