org.gscg.singleuser.handlers
Class LatLonRequestForQuoteHandler

java.lang.Object
  extended bynl.tudelft.simulation.content.Handler
      extended bynl.tudelft.simulation.supplychain.handlers.SupplyChainHandler
          extended bynl.tudelft.simulation.supplychain.handlers.RequestForQuoteHandler
              extended byorg.gscg.singleuser.handlers.LatLonRequestForQuoteHandler
All Implemented Interfaces:
nl.tudelft.simulation.content.HandlerInterface, java.io.Serializable

public class LatLonRequestForQuoteHandler
extends nl.tudelft.simulation.supplychain.handlers.RequestForQuoteHandler

(c) copyright 2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software are proprietary information of Delft University of Technology.

Since:
1.1.10
Version:
$Revision: 1.1 $ $Date: 2005/08/03 08:52:50 $
Author:
Stijn-Pieter van Houten
See Also:
Serialized Form

Field Summary
 
Fields inherited from class nl.tudelft.simulation.supplychain.handlers.RequestForQuoteHandler
handlingTime, profitMargin, stock, transportMode
 
Fields inherited from class nl.tudelft.simulation.supplychain.handlers.SupplyChainHandler
owner, validPartners, validProducts
 
Fields inherited from class nl.tudelft.simulation.content.Handler
stream
 
Constructor Summary
LatLonRequestForQuoteHandler(nl.tudelft.simulation.supplychain.actor.Trader owner, nl.tudelft.simulation.supplychain.stock.StockInterface stock, double profitMargin, nl.tudelft.simulation.jstats.distributions.DistContinuous handlingTime, nl.tudelft.simulation.supplychain.transport.TransportMode transportMode)
          constructs a new LatLonRequestForQuoteHandler
LatLonRequestForQuoteHandler(nl.tudelft.simulation.supplychain.actor.Trader owner, nl.tudelft.simulation.supplychain.stock.StockInterface stock, double profitMargin, double handlingTime, nl.tudelft.simulation.supplychain.transport.TransportMode transportMode)
          constructs a new LatLonRequestForQuoteHandler
 
Method Summary
 boolean handleContent(java.io.Serializable content)
           
 
Methods inherited from class nl.tudelft.simulation.supplychain.handlers.RequestForQuoteHandler
checkContentClass, setHandlingTime, setProfitMargin, setReactionTime
 
Methods inherited from class nl.tudelft.simulation.supplychain.handlers.SupplyChainHandler
addValidPartner, addValidProduct, checkContent, getValidPartners, getValidProducts, isValidContent, setValidPartners, setValidProducts
 
Methods inherited from class nl.tudelft.simulation.content.Handler
getStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LatLonRequestForQuoteHandler

public LatLonRequestForQuoteHandler(nl.tudelft.simulation.supplychain.actor.Trader owner,
                                    nl.tudelft.simulation.supplychain.stock.StockInterface stock,
                                    double profitMargin,
                                    nl.tudelft.simulation.jstats.distributions.DistContinuous handlingTime,
                                    nl.tudelft.simulation.supplychain.transport.TransportMode transportMode)
constructs a new LatLonRequestForQuoteHandler

Parameters:
owner - a trader in this case as only traders handle RFQs
stock - the stock to check for products when quoting
profitMargin - the profit margin to use; 1.0 is no profit
handlingTime - the distribution of the time to react on the RFQ
transportMode - the default transport mode

LatLonRequestForQuoteHandler

public LatLonRequestForQuoteHandler(nl.tudelft.simulation.supplychain.actor.Trader owner,
                                    nl.tudelft.simulation.supplychain.stock.StockInterface stock,
                                    double profitMargin,
                                    double handlingTime,
                                    nl.tudelft.simulation.supplychain.transport.TransportMode transportMode)
constructs a new LatLonRequestForQuoteHandler

Parameters:
owner - a trader in this case as only traders handle RFQs
stock - the stock to check for products when quoting
profitMargin - the profit margin to use; 1.0 is no profit
handlingTime - the constant time to react on the RFQ
transportMode - the default transport mode
Method Detail

handleContent

public boolean handleContent(java.io.Serializable content)
See Also:
HandlerInterface.handleContent(java.io.Serializable)


Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.