/// <summary> /// Initializes a new Conversation by establishing a connection with a conversational Tuxedo service. /// </summary> /// /// <param name="svc"> /// The name of the Tuxedo service. /// </param> /// /// <param name="message"> /// A typed buffer containing the message to send along with the connect request; may be null. /// </param> /// /// <param name="len"> /// The length of the data in <paramref name="message"/>. /// </param> /// /// <param name="flags"> /// Must contain either TPSENDONLY or TPRECVONLY. /// See the Tuxedo tpconnect(3c) manual page. /// </param> /// /// <exception cref="TPException"> /// See the Tuxedo tpconnect(3c) manual page. /// </exception> /// /// <seealso cref="ATMI.tpconnect"/>. public Conversation(string svc, ByteBuffer message, int len, int flags) { cd = ATMI.tpconnect(svc, message, len, flags); }