org.globus.gsi.gssapi.net
Class GssInputStream
java.lang.Object
java.io.InputStream
org.globus.gsi.gssapi.net.GssInputStream
- All Implemented Interfaces:
- Closeable
- Direct Known Subclasses:
- GridFTPInputStream, GSIGssInputStream, SaslInputStream
public abstract class GssInputStream
- extends InputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
in
protected InputStream in
context
protected GSSContext context
buff
protected byte[] buff
index
protected int index
GssInputStream
public GssInputStream(InputStream in,
GSSContext context)
unwrap
protected byte[] unwrap(byte[] msg)
throws IOException
- Throws:
IOException
readMsg
protected abstract void readMsg()
throws IOException
- Throws:
IOException
read
public int read(byte[] data)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
read
public int read(byte[] data,
int off,
int len)
throws IOException
- Overrides:
read
in class InputStream
- Throws:
IOException
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
hasData
protected boolean hasData()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
available
public int available()
throws IOException
- Overrides:
available
in class InputStream
- Throws:
IOException