コード例 #1
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message 
 /// </summary>
 /// <param name="conversationId">conversation id</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>
 public AckNak(PossibleStatus status, int intResult, DistributableObject objResult, string message, string note)
     : base(Reply.PossibleTypes.AckNak, status, note)
 {
     IntResult = intResult;
     ObjResult = objResult;
     Message = message;
 }
コード例 #2
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message
 /// </summary>
 /// <param name="conversationId">conversation id</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>
 public AckNak(PossibleStatus status, int intResult, DistributableObject objResult, string message, string note) :
     base(Reply.PossibleTypes.AckNak, status, note)
 {
     IntResult = intResult;
     ObjResult = objResult;
     Message   = message;
 }
コード例 #3
0
 public AckNak(PossibleStatus status, DistributableObject objResult, string message) : this(status, 0, objResult, message, string.Empty)
 {
 }
コード例 #4
0
 public AckNak(PossibleStatus status, int intResult, string message) : this(status, intResult, null, message, string.Empty)
 {
 }
コード例 #5
0
 public AckNak(PossibleStatus status, int intResult) : this(status, intResult, null, string.Empty, string.Empty)
 {
 }
コード例 #6
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message 
 /// </summary>
 /// <param name="conversationId">conversation id</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>
 public ConfigurationReply(PossibleStatus status, GameConfiguration config, string note = null)
     : base(Reply.PossibleTypes.ConfigurationReply, status, note)
 {
     Configuration = config;
 }
コード例 #7
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message
 /// </summary>
 /// <param name="conversationId">conversation id</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>
 public PlayingFieldReply(PossibleStatus status, PlayingFieldLayout layout, string note = null) :
     base(Reply.PossibleTypes.PlayingFieldReply, status, note)
 {
     Layout = layout;
 }
コード例 #8
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message
 /// </summary>
 /// <param name="conversationId">conversation id</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>
 public ConfigurationReply(PossibleStatus status, GameConfiguration config, string note = null) :
     base(Reply.PossibleTypes.ConfigurationReply, status, note)
 {
     Configuration = config;
 }
コード例 #9
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message
 /// </summary>
 /// <param name="conversationId">conversation id</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>
 public StatusReply(PossibleStatus status, AgentInfo info, string note = null) :
     base(Reply.PossibleTypes.StatusReply, status, note)
 {
     Info = info;
 }
コード例 #10
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message 
 /// </summary>
 /// <param name="type">Type of request that being created</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>
 protected Reply(PossibleTypes type, PossibleStatus status, string note)
 {
     ReplyType = type;
     Status = status;
     Note = note;
 }
コード例 #11
0
 public AckNak(PossibleStatus status, DistributableObject objResult, string message)
     : this(status, 0, objResult, message, string.Empty)
 {
 }
コード例 #12
0
 public AckNak(PossibleStatus status, int intResult, string message)
     : this(status, intResult, null, message, string.Empty)
 {
 }
コード例 #13
0
 public AckNak(PossibleStatus status, int intResult)
     : this(status, intResult, null, string.Empty, string.Empty)
 {
 }
コード例 #14
0
 public AckNak(PossibleStatus status)
     : this(status, 0, null, string.Empty, string.Empty)
 {
 }
コード例 #15
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message 
 /// </summary>
 /// <param name="conversationId">conversation id</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>
 public ResourceReply(PossibleStatus status, DistributableObject resource, string note = null)
     : base(Reply.PossibleTypes.ResourceReply, status, note)
 {
     Resource = resource;
 }
コード例 #16
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message 
 /// </summary>
 /// <param name="conversationId">conversation id</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>       
 public PlayingFieldReply(PossibleStatus status, PlayingFieldLayout layout, string note = null)
     : base(Reply.PossibleTypes.PlayingFieldReply, status, note)
 {
     Layout = layout;
 }
コード例 #17
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message 
 /// </summary>
 /// <param name="conversationId">conversation id</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>
 public AgentListReply(PossibleStatus status, AgentList agents, string note = null)
     : base(Reply.PossibleTypes.AgentListReply, status, note)
 {
     Agents = agents;
 }
コード例 #18
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message 
 /// </summary>
 /// <param name="conversationId">conversation id</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>
 public ReadyReply(PossibleStatus status, string note = null)
     : base(Reply.PossibleTypes.ReadyReply, status, note)
 {
 }
コード例 #19
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message
 /// </summary>
 /// <param name="type">Type of request that being created</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>
 protected Reply(PossibleTypes type, PossibleStatus status, string note)
 {
     ReplyType = type;
     Status    = status;
     Note      = note;
 }
コード例 #20
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message
 /// </summary>
 /// <param name="conversationId">conversation id</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>
 public ReadyReply(PossibleStatus status, string note = null) :
     base(Reply.PossibleTypes.ReadyReply, status, note)
 {
 }
コード例 #21
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message 
 /// </summary>
 /// <param name="conversationId">conversation id</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>
 public StatusReply(PossibleStatus status, AgentInfo info, string note = null)
     : base(Reply.PossibleTypes.StatusReply, status, note)
 {
     Info = info;
 }
コード例 #22
0
 public AckNak(PossibleStatus status) : this(status, 0, null, string.Empty, string.Empty)
 {
 }
コード例 #23
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message
 /// </summary>
 /// <param name="conversationId">conversation id</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>
 public ResourceReply(PossibleStatus status, DistributableObject resource, string note = null) :
     base(Reply.PossibleTypes.ResourceReply, status, note)
 {
     Resource = resource;
 }
コード例 #24
0
 /// <summary>
 /// Constructor used by all specializations, which in turn are used by
 /// senders of a message
 /// </summary>
 /// <param name="conversationId">conversation id</param>
 /// <param name="status">Status of the ack/nak</status>
 /// <param name="note">error message or note</note>
 public AgentListReply(PossibleStatus status, AgentList agents, string note = null) :
     base(Reply.PossibleTypes.AgentListReply, status, note)
 {
     Agents = agents;
 }