public final class TimedSocket extends Object
Modifier and Type | Method and Description |
---|---|
static Socket |
createSocket(String host,
int port,
int timeout)
Creates a socket and waits until the given timeout is reached.
|
public static Socket createSocket(String host, int port, int timeout) throws IOException
host
- port
- timeout
- in millisecondsnull
.InterruptedIOException
IOException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.