Inheritance: IZyreEventHeader
Exemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="senderUuid">The sending peer's identity</param>
 /// <param name="senderName">The sending peer's public name</param>
 /// <param name="groupName">The name of the group the sending peer is leaving</param>
 public ZyreEventLeave(Guid senderUuid, string senderName, string groupName)
 {
     GroupName = groupName;
     _header   = new ZyreEventHeader(senderUuid, senderName);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="senderUuid">The sending peer's identity</param>
 /// <param name="senderName">The sending peer's public name</param>
 public ZyreEventPingOk(Guid senderUuid, string senderName)
 {
     _header = new ZyreEventHeader(senderUuid, senderName);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="senderUuid">The sending peer's identity</param>
 /// <param name="senderName">The sending peer's public name</param>
 public ZyreEventExit(Guid senderUuid, string senderName)
 {
     _header = new ZyreEventHeader(senderUuid, senderName);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="senderUuid">The sending peer's identity</param>
 /// <param name="senderName">The sending peer's public name</param>
 /// <param name="groupName">The name of the group the sending peer is leaving</param>
 public ZyreEventLeave(Guid senderUuid, string senderName, string groupName)
 {
     GroupName = groupName;
     _header = new ZyreEventHeader(senderUuid, senderName);
 }
Exemplo n.º 5
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="senderUuid">The sending peer's identity</param>
 /// <param name="senderName">The sending peer's public name</param>
 /// <param name="content">The message being whispered</param>
 public ZyreEventWhisper(Guid senderUuid, string senderName, NetMQMessage content)
 {
     Content = content;
     _header = new ZyreEventHeader(senderUuid, senderName);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="senderUuid">The sending peer's identity</param>
 /// <param name="senderName">The sending peer's public name</param>
 /// <param name="content">The message being whispered</param>
 public ZyreEventWhisper(Guid senderUuid, string senderName, NetMQMessage content)
 {
     Content = content;
     _header = new ZyreEventHeader(senderUuid, senderName);
 }
Exemplo n.º 7
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="senderUuid">The sending peer's identity</param>
 /// <param name="senderName">The sending peer's public name</param>
 /// <param name="groupName">The name of the group to which the sending peer is shouting</param>
 /// <param name="content">The message being shouted</param>
 public ZyreEventShout(Guid senderUuid, string senderName, string groupName, NetMQMessage content)
 {
     Content = content;
     GroupName = groupName;
     _header = new ZyreEventHeader(senderUuid, senderName);
 }
Exemplo n.º 8
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="senderUuid">The sending peer's identity</param>
 /// <param name="senderName">The sending peer's public name</param>
 /// <param name="groupName">The name of the group to which the sending peer is shouting</param>
 /// <param name="content">The message being shouted</param>
 public ZyreEventShout(Guid senderUuid, string senderName, string groupName, NetMQMessage content)
 {
     Content   = content;
     GroupName = groupName;
     _header   = new ZyreEventHeader(senderUuid, senderName);
 }
Exemplo n.º 9
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="senderUuid">The sending peer's identity</param>
 /// <param name="senderName">The sending peer's public name</param>
 /// <param name="headers">The sending peer's headers</param>
 /// <param name="address">The full 0MQ address, or endpoint, e.g. "tcp://127.0.0.1:49520</param>
 public ZyreEventEnter(Guid senderUuid, string senderName, Dictionary <string, string> headers, string address)
 {
     Headers = headers;
     Address = address;
     _header = new ZyreEventHeader(senderUuid, senderName);
 }
Exemplo n.º 10
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="senderUuid">The sending peer's identity</param>
 /// <param name="senderName">The sending peer's public name</param>
 /// <param name="headers">The sending peer's headers</param>
 /// <param name="address">The full 0MQ address, or endpoint, e.g. "tcp://127.0.0.1:49520</param>
 public ZyreEventEnter(Guid senderUuid, string senderName, Dictionary<string, string> headers, string address)
 {
     Headers = headers;
     Address = address;
     _header = new ZyreEventHeader(senderUuid, senderName);
 }
Exemplo n.º 11
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="senderUuid">The sending peer's identity</param>
 /// <param name="senderName">The sending peer's public name</param>
 public ZyreEventEvasive(Guid senderUuid, string senderName)
 {
     _header = new ZyreEventHeader(senderUuid, senderName);
 }