Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StanzaResult"/> class.
 /// </summary>
 /// <param name="streamAction">The action to perform on the stream after sending the stanza.</param>
 /// <param name="response">The response to send on the connection.</param>
 public StanzaResult(StreamAction streamAction, Stanza response)
 {
     StreamAction = streamAction;
     Response     = response;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StanzaResult" /> class.
 /// </summary>
 /// <param name="response">The response stanza.</param>
 public StanzaResult(Stanza response)
 {
     Response = response;
 }