You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
295 B
20 lines
295 B
namespace EC.Utils.ZMQ
|
|
{
|
|
public class PubSubModel
|
|
{
|
|
public string msg { get; set; }
|
|
|
|
public string topic { get; set; }
|
|
|
|
public string TopicLower()
|
|
{
|
|
return topic.ToLower();
|
|
}
|
|
|
|
public PubSubModel(string topic, string msg)
|
|
{
|
|
this.topic = topic;
|
|
this.msg = msg;
|
|
}
|
|
}
|
|
}
|