com.sun.jmx.remote.opt.security
Class SASLOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.sun.jmx.remote.opt.security.SASLOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class SASLOutputStream
extends OutputStream


Constructor Summary
SASLOutputStream(SaslClient sc, OutputStream out)
           
SASLOutputStream(SaslServer ss, OutputStream out)
           
 
Method Summary
 void close()
           
 void write(byte[] buffer, int offset, int total)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SASLOutputStream

public SASLOutputStream(SaslClient sc,
                        OutputStream out)
                 throws IOException
Throws:
IOException

SASLOutputStream

public SASLOutputStream(SaslServer ss,
                        OutputStream out)
                 throws IOException
Throws:
IOException
Method Detail

write

public void write(int b)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] buffer,
                  int offset,
                  int total)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class OutputStream
Throws:
IOException


Copyright © 2014 Terracotta, Inc.. All rights reserved.