Package org.globus.ftp.extended
Class GridFTPInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.globus.gsi.gssapi.net.GssInputStream
-
- org.globus.ftp.extended.GridFTPInputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class GridFTPInputStream extends GssInputStream
-
-
Field Summary
-
Fields inherited from class org.globus.gsi.gssapi.net.GssInputStream
buff, context, in, index
-
-
Constructor Summary
Constructors Constructor Description GridFTPInputStream(java.io.InputStream in, org.ietf.jgss.GSSContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.String
handleReply(java.lang.String line)
byte[]
readHandshakeToken()
private java.lang.String
readLine()
protected void
readMsg()
-
Methods inherited from class org.globus.gsi.gssapi.net.GssInputStream
available, close, hasData, read, read, read, unwrap
-
-
-
-
Method Detail
-
readLine
private java.lang.String readLine() throws java.io.IOException
- Throws:
java.io.IOException
-
readHandshakeToken
public byte[] readHandshakeToken() throws java.io.IOException
- Throws:
java.io.IOException
-
handleReply
private java.lang.String handleReply(java.lang.String line) throws java.io.IOException
- Throws:
java.io.IOException
-
readMsg
protected void readMsg() throws java.io.IOException
- Specified by:
readMsg
in classGssInputStream
- Throws:
java.io.IOException
-
-