lezione3.serializzazioneudp.server
Class Server

java.lang.Object
  extended by lezione3.serializzazioneudp.server.Server

public class Server
extends java.lang.Object

Esempio sulla serializzazione in UDP. Il server istanzia un oggetto di tipo Messaggio, lo converte in un array di byte tramite un ByteArrayOutputStream. Poi imbusta questo array in un pacchetto UDP.

Author:
Raffaele Giordanelli

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

Server

public Server()
Method Detail

main

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