3.2.6Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
Type: string
(any)
(any)
(any)
(any)
(any)
(any)
is this packet a miniseed packet
any:
true if it is miniseed
Parsed payload as a miniseed data record, if the streamid ends with '/MSEED', null otherwise.
any:
miniseed DataRecord or null
is this packet a miniseed3 packet
any:
true if it is miniseed3
Parsed payload as a miniseed3 data record, if the data format is 3, null otherwise.
any:
miniseed3 DataRecord or null
(any)
(any)
A seedlink websocket connection to the given url. The connection is not made until the connect() method is called. Note this cannot connect directly to a native TCP socket, instead it sends the seedlink protocol over a websocket. Currently only the IRIS ringserver, https://github.com/earthscope/ringserver, supports websockets, but it may be possible to use third party tools to proxy the websocket to a TCP seedlink socket.
The spec is available via the FDSN, https://www.fdsn.org/publications/
(any)
websocket URL to connect to
(any)
an array of seedlink commands
like:
[ 'STATION CO_JSC',
'SELECT 00_B_H_Z' ]
(any)
the callback function that
will be invoked for each seedlink packet received.
(any)
callback function for errors
(any)
callback function for closing connection
(any)
optional web socket connection
(any)
handshake ending command, either END or ENDFETCH
(any)
agent identifier
(any)
agent version
(any)
(any)
(any)
(any)
(any)
(any)
Sends initial HELLO to server and waits for response.
any:
Promise that resolves to the response from the server.
(any)
Sends an array of commands, each as a Promise waiting for the 'OK' response before sending the next.
(any)
array of commands to send
any:
Promise that resolves to the 'OK' returned by the last
command if successful, or rejects on the first failure.
creates a Promise that sends a command and waits resolved with the result.
(any)
command string to send.
any:
Promise that resolves to the reply from the server.