|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.knmi.orfeus.seedlink.client.SLNetStation
public class SLNetStation
Class to hold a SeedLink stream descriptions (selectors) for a network/station.
Blockette
Field Summary | |
---|---|
edu.iris.Fissures.seed.container.Btime |
btime
Time stamp of last packet received. |
static int |
MAX_SELECTOR_SIZE
Maximum selector size. |
java.lang.String |
net
The network code. |
java.lang.String |
selectors
SeedLink style selectors for this station. |
int |
seqnum
SeedLink sequence number of last packet received. |
java.lang.String |
station
The station code. |
Constructor Summary | |
---|---|
SLNetStation(java.lang.String net,
java.lang.String station,
java.lang.String selectors,
int seqnum,
java.lang.String timestamp)
Creates a new instance of SLNetStation. |
Method Summary | |
---|---|
int |
appendSelectors(java.lang.String newSelectors)
Appends a selectors String to the current selectors for this SLNetStation |
java.lang.String[] |
getSelectors()
Returns the selectors as an array of Strings |
java.lang.String |
getSLTimeStamp()
Returns the time stamp in SeedLink string format: "year,month,day,hour,minute,second" |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int MAX_SELECTOR_SIZE
public java.lang.String net
public java.lang.String station
public java.lang.String selectors
public int seqnum
public edu.iris.Fissures.seed.container.Btime btime
Constructor Detail |
---|
public SLNetStation(java.lang.String net, java.lang.String station, java.lang.String selectors, int seqnum, java.lang.String timestamp) throws SeedLinkException
net
- network code.station
- station code.selectors
- selectors for this net/station, null if none.seqnum
- SeedLink sequence number of last packet received, -1 to start at the next data.timestamp
- SeedLink time stamp in SEED "year,day-of-year,hour,minute,second" format for last packet received, null for none.
SeedLinkException
Method Detail |
---|
public int appendSelectors(java.lang.String newSelectors)
public java.lang.String[] getSelectors()
public java.lang.String getSLTimeStamp()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |