|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object velosurf.validation.EmailCheck.FastTimeoutConnect
class EmailCheck.FastTimeoutConnect
A socket with short timeout.
Field Summary | |
---|---|
private boolean |
done
connection successfull? |
private java.lang.String |
host
host. |
private java.io.IOException |
ioe
thrown I/O exception. |
private int |
port
port. |
private java.net.Socket |
socket
wrapped socket. |
private int |
timeout
timeout. |
private java.net.UnknownHostException |
uhe
throws unknown host exception. |
Constructor Summary | |
---|---|
EmailCheck.FastTimeoutConnect(java.lang.String h,
int p,
int t)
Constructor. |
Method Summary | |
---|---|
java.net.Socket |
connect()
Connect. |
void |
run()
connection process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String host
private int port
private boolean done
private int timeout
private java.net.Socket socket
private java.io.IOException ioe
private java.net.UnknownHostException uhe
Constructor Detail |
---|
public EmailCheck.FastTimeoutConnect(java.lang.String h, int p, int t)
h
- hostp
- portt
- timeoutMethod Detail |
---|
public java.net.Socket connect() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
java.net.UnknownHostException
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |