Class SCPEngine


  • class SCPEngine
    extends java.lang.Object
    See Also:
    SCP Protocol
    • Method Detail

      • getExitStatus

        public int getExitStatus()
      • check

        void check​(java.lang.String what)
            throws java.io.IOException
        Throws:
        java.io.IOException
      • cleanSlate

        void cleanSlate()
      • exit

        void exit()
      • readMessage

        java.lang.String readMessage()
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • sendMessage

        void sendMessage​(java.lang.String msg)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • signal

        void signal​(java.lang.String what)
             throws java.io.IOException
        Throws:
        java.io.IOException
      • transferToRemote

        long transferToRemote​(StreamCopier.Listener listener,
                              java.io.InputStream src,
                              long length)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • transferFromRemote

        long transferFromRemote​(StreamCopier.Listener listener,
                                java.io.OutputStream dest,
                                long length)
                         throws java.io.IOException
        Throws:
        java.io.IOException