|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchat.client.ChatClient
public class ChatClient
Programa que hace conexión tcp con el servidor e inicia interfaz gráfica.
Constructor Summary | |
---|---|
ChatClient(java.lang.String user,
java.lang.String host,
int port)
Constructor de la clase. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Método main. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChatClient(java.lang.String user, java.lang.String host, int port) throws java.io.IOException
user
- El nombre del usuario.host
- Dirección de red del servidor.port
- Puerto de escucha del servidor.
java.io.IOException
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |