code: public static DcerpcHandle getHandle ( String url, CIFSContext tc, boolean unshared ) throws MalformedURLException, DcerpcException {
          if ( url.startsWith("ncacn_np:") ) {
              return new DcerpcPipeHandle(url, tc, unshared);
          }
          throw new DcerpcException("DCERPC transport not supported: " + url);
      }
docs: Get a handle to a service
  
  @param url
  @param tc
  @param unshared
  whether an exclusive connection should be used
  @return a DCERPC handle for the given url
  @throws MalformedURLException
  @throws DcerpcException