public void Publish(string channel, InfoMessage retMessage) { _conn.Publish(channel, Encoding.Default.GetBytes(retMessage.ToString())); }