|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
net.jxta.impl.endpoint.tls.JTlsInputStream
Acts as the input for TLS. Accepts ciphertext which arrives in messages and orders it before passing it to TLS for decryption. PureTLS will do its raw reads off of this InputStream Here, we will have queued up the payload of TLS message elements to be passed to TLS code as TLS Records.
Constructor Summary | |
JTlsInputStream(TlsConn conn,
long timeout)
|
Method Summary | |
void |
close()
|
(package private) int |
getMaxIQSize()
|
(package private) int |
getSequenceNumber()
|
void |
queueIncomingMessage(Message msg)
queue messages by sequence number. |
int |
read()
|
int |
read(byte[] a,
int offset,
int length)
|
void |
setClosing()
prepare this input stream to being closed. |
Methods inherited from class java.io.InputStream |
available, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JTlsInputStream(TlsConn conn, long timeout)
Method Detail |
public void close() throws IOException
IOException
public void setClosing() throws IOException
IOException
public int read() throws IOException
IOException
public int read(byte[] a, int offset, int length) throws IOException
IOException
int getSequenceNumber()
int getMaxIQSize()
public void queueIncomingMessage(Message msg)
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |