// Path: src/main/java/br/com/soapboxrace/jaxb/ChatServerType.java
// @XmlAccessorType(XmlAccessType.FIELD)
// @XmlType(name = "ChatServerType", propOrder = { "rooms", "ip", "port", "prefix" })
// @XmlRootElement(name = "chatServer")
// public class ChatServerType {
// 
// 	@XmlElement(name = "chatRoom", type = ChatRoomType.class)
// 	@XmlElementWrapper(name = "Rooms", required = true)
// 	protected List<ChatRoomType> rooms;
// 
// 	@XmlElement(name = "ip", required = true)
// 	protected String ip;
// 
// 	@XmlElement(name = "port", required = true)
// 	protected int port = 5222;
// 	@XmlElement(name = "prefix", required = true)
// 	protected String prefix = "nfsw";
// 
// 	public List<ChatRoomType> getRooms() {
// 		return rooms;
// 	}
// 
// 	public void setRooms(List<ChatRoomType> rooms) {
// 		this.rooms = rooms;
// 	}
// 
// 	public String getIp() {
// 		return ip;
// 	}
// 
// 	public void setIp(String ip) {
// 		this.ip = ip;
// 	}
// 
// 	public int getPort() {
// 		return port;
// 	}
// 
// 	public void setPort(int port) {
// 		this.port = port;
// 	}
// 
// 	public String getPrefix() {
// 		return prefix;
// 	}
// 
// 	public void setPrefix(String prefix) {
// 		this.prefix = prefix;
// 	}
// }
// 
// Path: src/main/java/br/com/soapboxrace/jaxb/util/MarshalXML.java
// public class MarshalXML {
// 
// 	public static String marshal(Object obj) {
// 		StringWriter stringWriter = new StringWriter();
// 		try {
// 			JAXBContext jaxbContext = JAXBContext.newInstance(obj.getClass());
// 			Marshaller jaxbMarshaller = jaxbContext.createMarshaller();
// 			jaxbMarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, false);
// 			jaxbMarshaller.setProperty(Marshaller.JAXB_FRAGMENT, true);
// 			jaxbMarshaller.marshal(obj, stringWriter);
// 		} catch (Exception e) {
// 			e.printStackTrace();
// 		}
// 		return stringWriter.toString();
// 	}
// }


import br.com.soapboxrace.jaxb.ChatServerType;
import br.com.soapboxrace.jaxb.util.MarshalXML;
import static br.com.soapboxrace.definition.ChatRooms.getRooms;
package br.com.soapboxrace.engine;


public class Session extends Router {

	private static String xmppIp = "127.0.0.1";

	private static int xmppPort = 5222;

	private static String raceUdpIp = "127.0.0.1";

	private static int raceUdpPort = 9998;

	private static String freeRoamUdpIp = "127.0.0.1";

	private static int freeRoamUdpPort = 9999;

	private static String xmppServerType = "OpenFire";

	private static long currentMpSessionId = 10000L;

	public String getChatInfo() {
// Path: src/main/java/br/com/soapboxrace/jaxb/ChatServerType.java
// @XmlAccessorType(XmlAccessType.FIELD)
// @XmlType(name = "ChatServerType", propOrder = { "rooms", "ip", "port", "prefix" })
// @XmlRootElement(name = "chatServer")
// public class ChatServerType {
// 
// 	@XmlElement(name = "chatRoom", type = ChatRoomType.class)
// 	@XmlElementWrapper(name = "Rooms", required = true)
// 	protected List<ChatRoomType> rooms;
// 
// 	@XmlElement(name = "ip", required = true)
// 	protected String ip;
// 
// 	@XmlElement(name = "port", required = true)
// 	protected int port = 5222;
// 	@XmlElement(name = "prefix", required = true)
// 	protected String prefix = "nfsw";
// 
// 	public List<ChatRoomType> getRooms() {
// 		return rooms;
// 	}
// 
// 	public void setRooms(List<ChatRoomType> rooms) {
// 		this.rooms = rooms;
// 	}
// 
// 	public String getIp() {
// 		return ip;
// 	}
// 
// 	public void setIp(String ip) {
// 		this.ip = ip;
// 	}
// 
// 	public int getPort() {
// 		return port;
// 	}
// 
// 	public void setPort(int port) {
// 		this.port = port;
// 	}
// 
// 	public String getPrefix() {
// 		return prefix;
// 	}
// 
// 	public void setPrefix(String prefix) {
// 		this.prefix = prefix;
// 	}
// }
// 
// Path: src/main/java/br/com/soapboxrace/jaxb/util/MarshalXML.java
// public class MarshalXML {
// 
// 	public static String marshal(Object obj) {
// 		StringWriter stringWriter = new StringWriter();
// 		try {
// 			JAXBContext jaxbContext = JAXBContext.newInstance(obj.getClass());
// 			Marshaller jaxbMarshaller = jaxbContext.createMarshaller();
// 			jaxbMarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, false);
// 			jaxbMarshaller.setProperty(Marshaller.JAXB_FRAGMENT, true);
// 			jaxbMarshaller.marshal(obj, stringWriter);
// 		} catch (Exception e) {
// 			e.printStackTrace();
// 		}
// 		return stringWriter.toString();
// 	}
// }


// Path: src/main/java/br/com/soapboxrace/engine/Session.java
import br.com.soapboxrace.jaxb.ChatServerType;
import br.com.soapboxrace.jaxb.util.MarshalXML;
import static br.com.soapboxrace.definition.ChatRooms.getRooms;

package br.com.soapboxrace.engine;


public class Session extends Router {

	private static String xmppIp = "127.0.0.1";

	private static int xmppPort = 5222;

	private static String raceUdpIp = "127.0.0.1";

	private static int raceUdpPort = 9998;

	private static String freeRoamUdpIp = "127.0.0.1";

	private static int freeRoamUdpPort = 9999;

	private static String xmppServerType = "OpenFire";

	private static long currentMpSessionId = 10000L;

	public String getChatInfo() {
		ChatServerType chatServer = new ChatServerType();