org.lucci.madhoc.network
Class Station
java.lang.Object
org.lucci.madhoc.network.Station
- All Implemented Interfaces:
- Configurable
public class Station
- extends java.lang.Object
- implements Configurable
- Author:
- luc.hogie
Methods inherited from class java.lang.Object |
equals, getClass, notify, notifyAll, toString, wait, wait, wait |
Station
public Station()
getVolatilityModel
public VolatilityModel getVolatilityModel()
setVolatilityModel
public void setVolatilityModel(VolatilityModel volatilityModel)
getIdentifier
public int getIdentifier()
setIdentifier
public void setIdentifier(int id)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getMobilityModel
public MobilityModel getMobilityModel()
- Returns:
- Returns the mobilityModel.
setMobilityModel
public void setMobilityModel(MobilityModel mobilityModel)
- Parameters:
mobilityModel
- The mobilityModel to set.
configure
public void configure()
throws java.lang.Throwable
- Specified by:
configure
in interface Configurable
- Throws:
java.lang.Throwable
getLocation
public Location getLocation()
setLocation
public void setLocation(Location point)
getApplicationMap
public org.lucci.math.relation.Relation<java.lang.Class,Application> getApplicationMap()
deploy
public Application deploy(java.lang.Class clazz,
Monitor simulationApp)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getType
public ComputerType getType()
getNetwork
public Network getNetwork()
setNetwork
public void setNetwork(Network network)
setType
public void setType(ComputerType type)
getComputationalUnit
public ComputationalUnit getComputationalUnit()
getNetworkingUnit
public NetworkingUnit getNetworkingUnit()
isSwitchedOn
public boolean isSwitchedOn()
setSwitchedOn
public void setSwitchedOn(boolean switchedOn)