hudson.remoting.forward
Class ForwarderFactory

java.lang.Object
  extended by hudson.remoting.forward.ForwarderFactory

public class ForwarderFactory
extends java.lang.Object

Creates Forwarder.

Author:
Kohsuke Kawaguchi

Constructor Summary
ForwarderFactory()
           
 
Method Summary
static Forwarder create(java.lang.String remoteHost, int remotePort)
           
static Forwarder create(VirtualChannel channel, java.lang.String remoteHost, int remotePort)
          Creates a connector on the remote side that connects to the speicied host and port.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwarderFactory

public ForwarderFactory()
Method Detail

create

public static Forwarder create(VirtualChannel channel,
                               java.lang.String remoteHost,
                               int remotePort)
                        throws java.io.IOException,
                               java.lang.InterruptedException
Creates a connector on the remote side that connects to the speicied host and port.

Throws:
java.io.IOException
java.lang.InterruptedException

create

public static Forwarder create(java.lang.String remoteHost,
                               int remotePort)


Copyright © 2013. All Rights Reserved.