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, writepublic KSAfterShocksInfo(java.io.InputStream in)
throws java.io.IOException
in - java.io.IOExceptionpublic KSAfterShocksInfo(Scenario scenario) throws UncompatibleScenarioException
aftershocks - UncompatibleScenarioExceptionpublic KSAfterShocksInfo(java.util.HashMap<java.lang.Integer,java.lang.Float> aftershocks)
aftershocks - protected KSAfterShocksInfo()