public class WWSClient extends Object
| Modifier and Type | Method and Description |
|---|---|
List<Channel> |
getChannels()
Retrieve a list of channels from a remote Winston.
|
List<Channel> |
getChannels(boolean meta)
Retrieve a list of channels from Winston.
|
gov.usgs.plot.data.HelicorderData |
getHelicorder(gov.usgs.volcanoes.core.data.Scnl scnl,
gov.usgs.volcanoes.core.time.TimeSpan timeSpan,
boolean doCompress)
Fetch helicorder data from Winston.
|
gov.usgs.plot.data.HelicorderData |
getHelicorder(String station,
String comp,
String network,
String location,
double start,
double end,
boolean doCompress)
Fetch helicorder data from Winston.
|
int |
getProtocolVersion()
Return protocol version used by remote winston.
|
gov.usgs.plot.data.RSAMData |
getRSAMData(gov.usgs.volcanoes.core.data.Scnl scnl,
gov.usgs.volcanoes.core.time.TimeSpan timeSpan,
int period,
boolean doCompress)
Request RSAM from winston.
|
gov.usgs.plot.data.Wave |
getWave(gov.usgs.volcanoes.core.data.Scnl scnl,
gov.usgs.volcanoes.core.time.TimeSpan timeSpan,
boolean doCompress)
Fetch a wave data from a Winston.
|
gov.usgs.plot.data.Wave |
getWave(String station,
String comp,
String network,
String location,
double start,
double end,
boolean doCompress)
Fetch a wave data from a Winston.
|
static void |
main(String[] args)
Here's where it all begins
|
public WWSClient(String server, int port)
public int getProtocolVersion()
public gov.usgs.plot.data.RSAMData getRSAMData(gov.usgs.volcanoes.core.data.Scnl scnl,
gov.usgs.volcanoes.core.time.TimeSpan timeSpan,
int period,
boolean doCompress)
scnl - channel to requesttimeSpan - time span to requestperiod - RSAM perioddoCompress - if true, compress data transmitted over the networkpublic gov.usgs.plot.data.Wave getWave(String station, String comp, String network, String location, double start, double end, boolean doCompress)
station - comp - network - location - start - end - doCompress - public gov.usgs.plot.data.Wave getWave(gov.usgs.volcanoes.core.data.Scnl scnl,
gov.usgs.volcanoes.core.time.TimeSpan timeSpan,
boolean doCompress)
scnl - channel to querytimeSpan - time span to querydoCompress - if true, compress data over the networkpublic gov.usgs.plot.data.HelicorderData getHelicorder(String station, String comp, String network, String location, double start, double end, boolean doCompress)
station - comp - network - location - start - end - doCompress - public gov.usgs.plot.data.HelicorderData getHelicorder(gov.usgs.volcanoes.core.data.Scnl scnl,
gov.usgs.volcanoes.core.time.TimeSpan timeSpan,
boolean doCompress)
scnl - channel to querytimeSpan - time span to querydoCompress - if true, compress data before sendingpublic List<Channel> getChannels()
public List<Channel> getChannels(boolean meta)
meta - if true, request metadatapublic static void main(String[] args)
args - WWSClientArgsCopyright © 2017. All rights reserved.