public class KSAfterShocksInfo extends AbstractMessage
Modifier | Constructor and Description |
---|---|
protected |
KSAfterShocksInfo()
Initiates an empty Message
|
|
KSAfterShocksInfo(java.util.HashMap<java.lang.Integer,java.lang.Float> aftershocks)
Creates a message from the input map.
|
|
KSAfterShocksInfo(java.io.InputStream in)
Reads the message from the inputstream and initiates its data.
|
|
KSAfterShocksInfo(Scenario scenario)
Creates a message from the input scenario.
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.Integer,java.lang.Float> |
getAftershocks()
Returns a map containing aftershocks' information.
|
addMessageComponent, getComponents, getURN, read, toString, write
public KSAfterShocksInfo(java.io.InputStream in) throws java.io.IOException
in
- java.io.IOException
public KSAfterShocksInfo(Scenario scenario) throws UncompatibleScenarioException
aftershocks
- UncompatibleScenarioException
public KSAfterShocksInfo(java.util.HashMap<java.lang.Integer,java.lang.Float> aftershocks)
aftershocks
- protected KSAfterShocksInfo()