/// <summary>
 /// Constructs an embeddable portmap service of class
 /// <code>OncRpcEmbeddedPortmap</code> and starts the service if no
 /// other (external) portmap service is available.
 /// </summary>
 /// <remarks>
 /// Constructs an embeddable portmap service of class
 /// <code>OncRpcEmbeddedPortmap</code> and starts the service if no
 /// other (external) portmap service is available.
 /// <p>The constructor starts the portmap service in its own thread and
 /// then returns.
 /// </remarks>
 /// <param name="checkTimeout">
 /// timeout in milliseconds to wait before assuming
 /// that no portmap service is currently available.
 /// </param>
 /// <seealso cref="embeddedPortmapInUse()">embeddedPortmapInUse()</seealso>
 /// <exception cref="org.acplt.oncrpc.OncRpcException"></exception>
 /// <exception cref="System.IO.IOException"></exception>
 public OncRpcEmbeddedPortmap(int checkTimeout)
 {
     if (!isPortmapRunning(checkTimeout))
     {
         embeddedPortmap = new OncRpcEmbeddedPortmap.embeddedjportmap
                               (this);
         embeddedPortmapThread = new OncRpcEmbeddedPortmap.OncRpcEmbeddedPortmapThread
                                     (this, embeddedPortmap);
         embeddedPortmap.serviceThread      = new Thread(new ThreadStart(embeddedPortmapThread.run));
         embeddedPortmap.serviceThread.Name = "Embedded Portmap Service Thread";
         embeddedPortmap.serviceThread.Start();
     }
 }
		/// <summary>
		/// Constructs an embeddable portmap service of class
		/// <code>OncRpcEmbeddedPortmap</code> and starts the service if no
		/// other (external) portmap service is available.
		/// </summary>
		/// <remarks>
		/// Constructs an embeddable portmap service of class
		/// <code>OncRpcEmbeddedPortmap</code> and starts the service if no
		/// other (external) portmap service is available.
		/// <p>The constructor starts the portmap service in its own thread and
		/// then returns.
		/// </remarks>
		/// <param name="checkTimeout">
		/// timeout in milliseconds to wait before assuming
		/// that no portmap service is currently available.
		/// </param>
		/// <seealso cref="embeddedPortmapInUse()">embeddedPortmapInUse()</seealso>
		/// <exception cref="org.acplt.oncrpc.OncRpcException"></exception>
		/// <exception cref="System.IO.IOException"></exception>
		public OncRpcEmbeddedPortmap(int checkTimeout)
		{
			if (!isPortmapRunning(checkTimeout))
			{
				embeddedPortmap = new OncRpcEmbeddedPortmap.embeddedjportmap
					(this);
				embeddedPortmapThread = new OncRpcEmbeddedPortmap.OncRpcEmbeddedPortmapThread
					(this, embeddedPortmap);
                embeddedPortmap.serviceThread = new Thread(new ThreadStart(embeddedPortmapThread.run));
                embeddedPortmap.serviceThread.Name = "Embedded Portmap Service Thread";
                embeddedPortmap.serviceThread.Start();
			}
		}