// Path: baggle-datagrams/src/inouire/baggle/types/IllegalDatagramException.java
// public class IllegalDatagramException extends Exception{
// 
// }


import inouire.baggle.types.IllegalDatagramException;
    public Integer port=null;
    public String players=null;
    public Boolean big=false;
    public Boolean rewardbigwords=false;
    
    public Integer returnPort=null;
    
    public PINGDatagram(int returnPort){
        this.returnPort=returnPort;
    }
    
    //PING|lang=fr|chat=yes|min=3|pf=no|mode=trad|nb=3|max=5|name=salut a toi|priv=no|grid=BAGRIURGUIGIUEG|time=120|players=bibi,beber,mika|big=no|rewardbigwords=no
    public PINGDatagram(int port,String name,String lang,boolean chat,int min,boolean pf, String mode,int nb,int max,boolean priv,String grid,int time,String players, boolean big, boolean rewardbigwords){
        this.port=port;
        this.lang=lang;
        this.chat=chat;
        this.min=min;
        this.pf=pf;
        this.mode=mode;
        this.nb=nb;
        this.max=max;
        this.name=name;
        this.priv=priv;
        this.grid=grid;
        this.time=time;
        this.players=players;
        this.big=big;
        this.rewardbigwords=rewardbigwords;
    }

// Path: baggle-datagrams/src/inouire/baggle/types/IllegalDatagramException.java
// public class IllegalDatagramException extends Exception{
// 
// }


// Path: baggle-datagrams/src/inouire/baggle/datagrams/PINGDatagram.java
import inouire.baggle.types.IllegalDatagramException;

    public Integer port=null;
    public String players=null;
    public Boolean big=false;
    public Boolean rewardbigwords=false;
    
    public Integer returnPort=null;
    
    public PINGDatagram(int returnPort){
        this.returnPort=returnPort;
    }
    
    //PING|lang=fr|chat=yes|min=3|pf=no|mode=trad|nb=3|max=5|name=salut a toi|priv=no|grid=BAGRIURGUIGIUEG|time=120|players=bibi,beber,mika|big=no|rewardbigwords=no
    public PINGDatagram(int port,String name,String lang,boolean chat,int min,boolean pf, String mode,int nb,int max,boolean priv,String grid,int time,String players, boolean big, boolean rewardbigwords){
        this.port=port;
        this.lang=lang;
        this.chat=chat;
        this.min=min;
        this.pf=pf;
        this.mode=mode;
        this.nb=nb;
        this.max=max;
        this.name=name;
        this.priv=priv;
        this.grid=grid;
        this.time=time;
        this.players=players;
        this.big=big;
        this.rewardbigwords=rewardbigwords;
    }

    public PINGDatagram(String[] args) throws IllegalDatagramException{