예제 #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;
 }