001    package market.event;
002    
003    import java.io.Serializable;
004    
005    /**
006     * Convenience method that implements MarketEventListener with empty methods.
007     */
008    public class MarketEventAdapter implements MarketEventListener, Serializable {
009    
010        /**
011             * ID for serialization.
012             */
013            private static final long serialVersionUID = -8075829210171118804L;
014    
015            /**
016         * Invoked when the manager announces closing-time.
017         */
018        public void notifyOnMarketClosing() {
019        }
020    
021        /**
022         * Invoked when the manager cancels closing-time announcement.
023         */
024        public void notifyOnMarketNotClosing() {
025        }
026    
027        /**
028         * Invoked when the market opens.
029         */
030        public void marketOpened() {
031        }
032    
033        /**
034         * Invoked when the market closes.
035         */
036        public void marketClosed() {
037        }
038    
039        /**
040         * Invoked when the date changes.
041         */
042        public void timeAdvanced() {
043        }
044    
045        /**
046         * Invoked when a job enters the {@link market.SMarket#ss_warehouseQueue warehouse queue} or a
047         * warehouse worker logs on or off.
048         */
049        public void workerInformationChanged(){
050        }
051    }