com.sun.jmx.remote.opt.security
Class SASLInputStream
java.lang.Object
java.io.InputStream
com.sun.jmx.remote.opt.security.SASLInputStream
- All Implemented Interfaces:
- Closeable
public class SASLInputStream
- extends InputStream
This class is used by clients of the Java SASL that need
to create streams using SaslClient's wrap/unwrap.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SASLInputStream
public SASLInputStream(SaslClient sc,
InputStream in)
throws IOException
- Throws:
IOException
SASLInputStream
public SASLInputStream(SaslServer ss,
InputStream in)
throws IOException
- Throws:
IOException
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
read
public int read(byte[] inBuf,
int start,
int count)
throws IOException
- Overrides:
read in class InputStream
- Throws:
IOException
available
public int available()
throws IOException
- Overrides:
available in class InputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class InputStream
- Throws:
IOException
Copyright © 2014 Terracotta, Inc.. All rights reserved.