<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Yup, that is precisely the use case I had in mind but then I realise
    'disconnect' is not required as when I issue the second connect, I
    am assuming, I get disconnected from frist. Correct me please if I
    am wrong.<br>
    <br>
    On 2/11/2011 6:01 PM, Nicklas Karlsson wrote:
    <blockquote
cite="mid:CAFzcPXHwMxkiuXTe9dWetquOx+gwjCMibtNUuMpPNWKUVW-Gsw@mail.gmail.com"
      type="cite">Perhaps a usecase would be for running cross-server
      scripts?
      <div><br>
      </div>
      <div>batch start</div>
      <div>&nbsp; connect to server1</div>
      <div>&nbsp; do stuff</div>
      <div>&nbsp; disconnect</div>
      <div>&nbsp; connect to server2</div>
      <div>&nbsp; do stuff</div>
      <div>batch run<br>
        <br>
        <div class="gmail_quote">On Wed, Nov 2, 2011 at 8:47 AM, Alexey
          Loubyansky <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:alexey.loubyansky@redhat.com">alexey.loubyansky@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            Having 'connect' it sounds like a logical addition. But what
            would be a<br>
            use-case?<br>
            <br>
            If you need to re-connect to another controller you can
            execute<br>
            'connect' again with the corresponding arguments. It'll
            disconnect and<br>
            connect to the new controller.<br>
            <div>
              <div class="h5"><br>
                On 11/02/2011 04:35 AM, Vimal Kansal wrote:<br>
                &gt; I wonder if that is on the agenda?<br>
                &gt;<br>
                &gt; _______________________________________________<br>
                &gt; jboss-as7-dev mailing list<br>
                &gt; <a moz-do-not-send="true"
                  href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
                &gt; <a moz-do-not-send="true"
                  href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev"
                  target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
                _______________________________________________<br>
                jboss-as7-dev mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
                <a moz-do-not-send="true"
                  href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev"
                  target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        ---<br>
        Nik<br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
jboss-as7-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a>
</pre>
    </blockquote>
  </body>
</html>