org.globus.gsi.gssapi.net.impl
Class GSIGssOutputStream
java.lang.Object
java.io.OutputStream
org.globus.gsi.gssapi.net.GssOutputStream
org.globus.gsi.gssapi.net.impl.GSIGssOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class GSIGssOutputStream
- extends GssOutputStream
Field Summary |
protected byte[] |
header
|
protected int |
mode
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
header
protected byte[] header
mode
protected int mode
GSIGssOutputStream
public GSIGssOutputStream(OutputStream out,
GSSContext context)
GSIGssOutputStream
public GSIGssOutputStream(OutputStream out,
GSSContext context,
int mode)
flush
public void flush()
throws IOException
- Specified by:
flush
in interface Flushable
- Specified by:
flush
in class GssOutputStream
- Throws:
IOException
setWrapMode
public void setWrapMode(int mode)
getWrapMode
public int getWrapMode()
writeToken
public void writeToken(byte[] token)
throws IOException
- Throws:
IOException