Package edu.sc.seis.seisFile.seedlink
Class SeedlinkState
java.lang.Object
edu.sc.seis.seisFile.seedlink.SeedlinkState
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SeedlinkState
(String host, int port, List<String> commandList) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
containsKey
(String key) org.json.JSONObject
getForStation
(String netCode, String staCode) getHost()
getMap()
int
getPort()
static SeedlinkState
importFromJson
(org.json.JSONObject json) keySet()
void
void
update
(SeedlinkPacket slp) void
-
Constructor Details
-
SeedlinkState
protected SeedlinkState() -
SeedlinkState
-
SeedlinkState
-
-
Method Details
-
getHost
-
getPort
public int getPort() -
contains
-
containsKey
-
keySet
-
put
-
getForStation
-
getGlobalLastSequence
-
updateGlobalSequence
-
update
- Throws:
SeedFormatException
IOException
-
getMap
-
getCommandList
-
exportToJson
public org.json.JSONObject exportToJson() -
importFromJson
-