Package org.pentaho.di.core.util
Class SocketUtil
java.lang.Object
org.pentaho.di.core.util.SocketUtil
Utility class for socket related methods
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidconnectToHost(String host, int port, int timeout) Attempts to connect to the specified host, wrapping any exceptions in a KettleException
-
Method Details
-
connectToHost
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
-