public class SLNetStation
extends java.lang.Object
Blockette
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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"
|
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
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
public int appendSelectors(java.lang.String newSelectors)
public java.lang.String[] getSelectors()
public java.lang.String getSLTimeStamp()