Class GridFTPOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable

    public class GridFTPOutputStream
    extends GssOutputStream
    • Field Detail

      • CRLF

        private static final byte[] CRLF
      • ADAT

        private static final byte[] ADAT
      • MIC

        private static final byte[] MIC
      • ENC

        private static final byte[] ENC
    • Constructor Detail

      • GridFTPOutputStream

        public GridFTPOutputStream​(java.io.OutputStream out,
                                   org.ietf.jgss.GSSContext context)
    • Method Detail

      • flush

        public void flush()
                   throws java.io.IOException
        Specified by:
        flush in interface java.io.Flushable
        Specified by:
        flush in class GssOutputStream
        Throws:
        java.io.IOException
      • writeHandshakeToken

        public void writeHandshakeToken​(byte[] token)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • writeToken

        private void writeToken​(byte[] header,
                                byte[] token)
                         throws java.io.IOException
        Throws:
        java.io.IOException