org.globus.gsi.gssapi.net
Class GssOutputStream
java.lang.Object
java.io.OutputStream
org.globus.gsi.gssapi.net.GssOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
- Direct Known Subclasses:
- GridFTPOutputStream, GSIGssOutputStream
public abstract class GssOutputStream
- extends java.io.OutputStream
Field Summary |
protected boolean |
autoFlush
|
protected byte[] |
buff
|
protected org.ietf.jgss.GSSContext |
context
|
protected int |
index
|
protected java.io.OutputStream |
out
|
Constructor Summary |
GssOutputStream(java.io.OutputStream out,
org.ietf.jgss.GSSContext context)
|
GssOutputStream(java.io.OutputStream out,
org.ietf.jgss.GSSContext context,
int size)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
protected java.io.OutputStream out
context
protected org.ietf.jgss.GSSContext context
autoFlush
protected boolean autoFlush
buff
protected byte[] buff
index
protected int index
GssOutputStream
public GssOutputStream(java.io.OutputStream out,
org.ietf.jgss.GSSContext context)
GssOutputStream
public GssOutputStream(java.io.OutputStream out,
org.ietf.jgss.GSSContext context,
int size)
setAutoFlush
public void setAutoFlush(boolean autoFlush)
getAutoFlush
public boolean getAutoFlush()
write
public void write(int b)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(byte[] data)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(byte[] data,
int off,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
wrap
protected byte[] wrap()
throws java.io.IOException
- Throws:
java.io.IOException
flush
public abstract void flush()
throws java.io.IOException
- Specified by:
flush
in interface java.io.Flushable
- Overrides:
flush
in class java.io.OutputStream
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.OutputStream
- Throws:
java.io.IOException
Copyright © 2013. All Rights Reserved.