org.lucci.madhoc.network
Class Station

java.lang.Object
  extended by org.lucci.madhoc.network.Station
All Implemented Interfaces:
Configurable

public class Station
extends java.lang.Object
implements Configurable

Author:
luc.hogie

Constructor Summary
Station()
           
 
Method Summary
 void configure()
           
 Application deploy(java.lang.Class clazz, Monitor simulationApp)
           
 org.lucci.math.relation.Relation<java.lang.Class,Application> getApplicationMap()
           
 ComputationalUnit getComputationalUnit()
           
 int getIdentifier()
           
 Location getLocation()
           
 MobilityModel getMobilityModel()
           
 Network getNetwork()
           
 NetworkingUnit getNetworkingUnit()
           
 ComputerType getType()
           
 VolatilityModel getVolatilityModel()
           
 int hashCode()
           
 boolean isSwitchedOn()
           
 void setIdentifier(int id)
           
 void setLocation(Location point)
           
 void setMobilityModel(MobilityModel mobilityModel)
           
 void setNetwork(Network network)
           
 void setSwitchedOn(boolean switchedOn)
           
 void setType(ComputerType type)
           
 void setVolatilityModel(VolatilityModel volatilityModel)
           
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Station

public Station()
Method Detail

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)