/***********************************************************
Copyright (C) 2004 VeriSign, Inc.

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

http://www.verisign.com/nds/naming/namestore/techdocs.html
***********************************************************/
package com.verisign.epp.framework;


// EPP Imports
import com.verisign.epp.codec.gen.EPPMessage;


/**
 * The <code>EPPEvent</code> class contains an EPPMessage for EPPEventHandlers
 * to respond to.     <br><br>
 *
 * @author $Author: jim $
 * @version $Revision: 1.2 $
 *
 * @see EPPEventHandler
 */
public class EPPEvent {
	/** The <code>EPPMessage</code> that this EPPEvent contains */
	protected EPPMessage theEPPMessage;

	/**
	 * Create an <code>EPPEvent</code>
	 *
	 * @param aMessage An <code>EPPMessage</code> to contain
	 */
	public EPPEvent(EPPMessage aMessage) {
		theEPPMessage = aMessage;
	}

	/**
	 * Gets this EPPEvent's <code>EPPMessage</code>
	 *
	 * @return This EPPEvent's <code>EPPMessage</code>
	 */
	public EPPMessage getMessage() {
		return theEPPMessage;
	}
}
