|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Connector
TCP connector. Acts as factory to various Connection
-s.
Method Summary | |
---|---|
void |
close()
Closes connector. |
java.lang.String |
getAddress()
Returns connector address. |
int |
getPort()
Returns connector port. |
long |
getTimeout()
Returns connector timeout. |
Connection |
openConnection()
Opens connection. |
void |
setTimeout(long timeout)
Setups connector timeout. |
Method Detail |
---|
java.lang.String getAddress()
int getPort()
long getTimeout() throws java.io.IOException
java.io.IOException
- if an error occursvoid setTimeout(long timeout) throws java.io.IOException
timeout
- new timeout value
java.io.IOException
- if an error occursConnection openConnection() throws java.io.IOException
java.io.IOException
- if an I/O error occursvoid close()
|
Secure iNet Factory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |