Package org.pentaho.di.core.util
Class SocketUtil
- java.lang.Object
-
- org.pentaho.di.core.util.SocketUtil
-
public class SocketUtil extends Object
Utility class for socket related methods
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidconnectToHost(String host, int port, int timeout)Attempts to connect to the specified host, wrapping any exceptions in a KettleException
-
-
-
Method Detail
-
connectToHost
public static void connectToHost(String host, int port, int timeout) throws KettleException
Attempts to connect to the specified host, wrapping any exceptions in a KettleException- Parameters:
host- the host to connect toport- the port to connect totimeout- the timeout- Throws:
KettleException
-
-