Class WaveServer

    • Field Detail

      • DEFAULT_TIMEOUT_SECONDS

        public static final int DEFAULT_TIMEOUT_SECONDS
        See Also:
        Constant Field Values
    • Constructor Detail

      • WaveServer

        public WaveServer​(java.lang.String host,
                          int port)
      • WaveServer

        public WaveServer​(java.lang.String host,
                          int port,
                          int timeoutSeconds)
    • Method Detail

      • getMenu

        public java.util.List<MenuItem> getMenu()
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getTraceBuf

        public java.util.List<TraceBuf2> getTraceBuf​(java.lang.String network,
                                                     java.lang.String station,
                                                     java.lang.String location,
                                                     java.lang.String channel,
                                                     java.util.Date start,
                                                     java.util.Date end)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • getTraceBuf

        public java.util.List<TraceBuf2> getTraceBuf​(java.lang.String cmd)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • getHost

        public java.lang.String getHost()
      • getPort

        public int getPort()
      • getSocket

        protected java.net.Socket getSocket()
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getRecordSize

        public int getRecordSize()
      • setRecordSize

        public void setRecordSize​(int recordSize)
      • isDoSteim1

        public boolean isDoSteim1()
      • setDoSteim1

        public void setDoSteim1​(boolean doSteim1)
      • getOut

        public java.io.PrintWriter getOut()
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • getIn

        public java.io.DataInputStream getIn()
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • getDefaultTimeoutSeconds

        public static int getDefaultTimeoutSeconds()
      • createQuery

        public java.lang.String createQuery​(java.lang.String network,
                                            java.lang.String station,
                                            java.lang.String location,
                                            java.lang.String channel,
                                            java.util.Date begin,
                                            java.util.Date end)
        Specified by:
        createQuery in class StringMSeedQueryReader