lezione3.serializzazioneudp.client
Class Client

java.lang.Object
  extended by lezione3.serializzazioneudp.client.Client

public class Client
extends java.lang.Object

Esempio sulla serializzazione in UDP. Il client riceve un pacchetto UDP contenente un array di byte e, tramite un ByteArrayInputStream, converte tale array in un oggetto di tipo Messaggio.

Author:
Raffaele Giordanelli

Constructor Summary
Client()
           
 
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
 

Constructor Detail

Client

public Client()
Method Detail

main

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