|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SocketFactory
A factory for creating Socket objects.
| Method Summary | |
|---|---|
java.net.Socket |
createSocket(java.lang.String host,
int port,
java.applet.Applet applet)
Creates a new Socket object. |
java.net.Socket |
createSocket(java.lang.String host,
int port,
java.lang.String[] args)
Creates a new Socket object. |
| Method Detail |
|---|
java.net.Socket createSocket(java.lang.String host,
int port,
java.applet.Applet applet)
throws java.io.IOException
host - the hostport - the portapplet - the applet
java.io.IOException - Signals that an I/O exception has occurred.
java.net.Socket createSocket(java.lang.String host,
int port,
java.lang.String[] args)
throws java.io.IOException
host - the hostport - the portargs - the args
java.io.IOException - Signals that an I/O exception has occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||