Ejemplo n.º 1
0
        private StandardPayload(SMQActorBase actor, string content, bool final)
        {
            this.PayloadId = Guid.NewGuid().ToString();

            this.Actor = actor;
            if (!ReferenceEquals(this.Actor, null))
            {
                this.SenderId   = actor.SenderId.ToString();
                this.SenderName = actor.SenderName;
            }
            else
            {
                this.SenderId   = Guid.NewGuid().ToString();
                this.SenderName = "Unnamed Actor";
            }

            this.Content = content;
        }
Ejemplo n.º 2
0
 public StandardPayload(SMQActorBase actor, string content)
     : this(actor, content, true)
 {
 }
Ejemplo n.º 3
0
 public StandardPayload(SMQActorBase actor)
     : this(actor, String.Empty)
 {
 }