Package org.globus.ftp.extended
Class GridFTPOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.globus.gsi.gssapi.net.GssOutputStream
-
- org.globus.ftp.extended.GridFTPOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
public class GridFTPOutputStream extends GssOutputStream
-
-
Constructor Summary
Constructors Constructor Description GridFTPOutputStream(java.io.OutputStream out, org.ietf.jgss.GSSContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flush()
void
writeHandshakeToken(byte[] token)
private void
writeToken(byte[] header, byte[] token)
-
Methods inherited from class org.globus.gsi.gssapi.net.GssOutputStream
close, getAutoFlush, setAutoFlush, wrap, write, write, write
-
-
-
-
Method Detail
-
flush
public void flush() throws java.io.IOException
- Specified by:
flush
in interfacejava.io.Flushable
- Specified by:
flush
in classGssOutputStream
- 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
-
-