/*
PureMVC Java port by Frederic Saunier <frederic.saunier@puremvc.org>
Adapted from sources of thoses different authors :
Donald Stinchfield <donald.stinchfield@puremvc.org>, et all
Ima OpenSource <opensource@ima.eu>
Anthony Quinault <anthony.quinault@puremvc.org>
PureMVC - Copyright(c) 2006-10 Futurescale, Inc., Some rights reserved.
Your reuse is governed by the Creative Commons Attribution 3.0 License
*/
package org.puremvc.java.interfaces;
/**
* The interface definition for a PureMVC Command.
*
* @see org.puremvc.java.interfaces INotification
*/
public interface ICommand extends INotifier
{
/**
* Execute the <code>ICommand</code>'s logic to handle a given
* <code>INotification</code>.
*
* @param notification
* an <code>INotification</code> to handle.
*/
public void execute( INotification notification );
}
/*
PureMVC Java port by Frederic Saunier <frederic.saunier@puremvc.org>
Adapted from sources of thoses different authors :
Donald Stinchfield <donald.stinchfield@puremvc.org>, et all
Ima OpenSource <opensource@ima.eu>
Anthony Quinault <anthony.quinault@puremvc.org>
PureMVC - Copyright(c) 2006-10 Futurescale, Inc., Some rights reserved.
Your reuse is governed by the Creative Commons Attribution 3.0 License
*/
package org.puremvc.java.interfaces;
/**
* This interface must be implemented by all classes that want to be notified of
* a notification.
*/
public interface IFunction
{
/**
* @param notification
*/
public void onNotification( INotification notification );
}
댓글 없음:
댓글 쓰기