|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.util.TimedSocket
public final class TimedSocket
This class implements a timeout feature on socket connections.
Method Summary | |
---|---|
static java.net.Socket |
createSocket(java.lang.String host,
int port,
int timeout)
Creates a socket and waits until the given timeout is reached. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.net.Socket createSocket(java.lang.String host, int port, int timeout) throws java.io.IOException
host
- port
- timeout
- in milliseconds
null
.
java.io.InterruptedIOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |