// Path: SocketIO-API/src/main/java/eu/k2c/socket/io/server/exceptions/SocketIOMalformedMessageException.java
// public class SocketIOMalformedMessageException extends SocketIOException {
// 	private static final long serialVersionUID = 1L;
// }


import eu.k2c.socket.io.server.exceptions.SocketIOMalformedMessageException;
		this.frameType = frameType;
		this.messageID = messageID;
		this.socketIOHandleAck = socketIOHandleAck;
		this.endPoint = endPoint;
		this.data1 = eventName;
		this.data2 = data;
	}

	public SocketIOFrame(final FrameType frameType) throws SocketIOMalformedMessageException {
		if (frameType != FrameType.CONNECT && frameType != FrameType.DISCONNECT && frameType != FrameType.HEARTBEAT)
			throw new SocketIOMalformedMessageException();

		this.frameType = frameType;
		this.messageID = EMPTY_FIELD;
		this.socketIOHandleAck = false;
		this.endPoint = null;
		this.data1 = null;
		this.data2 = null;
	}

	/**
	 * @return {@link FrameType}
	 */
	public FrameType getFrameType() {
		return frameType;
	}

	/**
	 * @return the message unique identifier
	 */
// Path: SocketIO-API/src/main/java/eu/k2c/socket/io/server/exceptions/SocketIOMalformedMessageException.java
// public class SocketIOMalformedMessageException extends SocketIOException {
// 	private static final long serialVersionUID = 1L;
// }


// Path: SocketIO-Core/src/main/java/eu/k2c/socket/io/frames/SocketIOFrame.java
import eu.k2c.socket.io.server.exceptions.SocketIOMalformedMessageException;

		this.frameType = frameType;
		this.messageID = messageID;
		this.socketIOHandleAck = socketIOHandleAck;
		this.endPoint = endPoint;
		this.data1 = eventName;
		this.data2 = data;
	}

	public SocketIOFrame(final FrameType frameType) throws SocketIOMalformedMessageException {
		if (frameType != FrameType.CONNECT && frameType != FrameType.DISCONNECT && frameType != FrameType.HEARTBEAT)
			throw new SocketIOMalformedMessageException();

		this.frameType = frameType;
		this.messageID = EMPTY_FIELD;
		this.socketIOHandleAck = false;
		this.endPoint = null;
		this.data1 = null;
		this.data2 = null;
	}

	/**
	 * @return {@link FrameType}
	 */
	public FrameType getFrameType() {
		return frameType;
	}

	/**
	 * @return the message unique identifier
	 */
	public long getMessageID() {