lezione2.multithread.client
Class EchoMultiClient

java.lang.Object
  extended by lezione2.multithread.client.EchoMultiClient

public class EchoMultiClient
extends java.lang.Object

Lanciando il programma senza argomenti si ottiene il local loopback IP address, per testarlo in locale (client e server sulla stessa macchina), altrimenti si possono passare da linea di comando l'indirizzo o il nome della macchina remota.

Author:
Raffaele Giordanelli
See Also:
ClientThread

Field Summary
(package private) static int MAX_THREADS
           
 
Constructor Summary
EchoMultiClient()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_THREADS

static final int MAX_THREADS
See Also:
Constant Field Values
Constructor Detail

EchoMultiClient

public EchoMultiClient()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException,
                        java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException