IT. Expert System.

Android Reference

SSLSocketInputStream


org.apache.harmony.xnet.provider.jsse

Class SSLSocketInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable


    public final class SSLSocketInputStream
    extends InputStream
    This class provides input data stream functionality for SSLSocket. It accumulates the application data received by SSL protocol.
    • Field Summary

      Fields
      Modifier and Type Field and Description
      protected org.apache.harmony.xnet.provider.jsse.SSLSocketInputStream.Adapter dataPoint
    • Constructor Summary

      Constructors
      Modifier Constructor and Description
      protected SSLSocketInputStream(SSLSocketImpl owner)
      Creates the application data input stream for specified socket.
    • Field Detail

      • dataPoint

        protected org.apache.harmony.xnet.provider.jsse.SSLSocketInputStream.Adapter dataPoint
    • Constructor Detail

      • SSLSocketInputStream

        protected SSLSocketInputStream(SSLSocketImpl owner)
        Creates the application data input stream for specified socket.
        Parameters:
        owner - the socket which will provide this input stream to client applications.
    • Method Detail

      • setEnd

        protected void setEnd()
        Tells to the stream that the end of the income data has been reached.
      • available

        public int available()
                      throws IOException
        Returns the number of bytes available for reading without blocking.
        Overrides:
        available in class InputStream
        Returns:
        the number of available bytes.
        Throws:
        IOException
      • read

        public int read()
                 throws IOException
        Reads one byte. If there is no data in the underlying buffer, this operation can block until the data will be available.
        Specified by:
        read in class InputStream
        Returns:
        read value.
        Throws:
        IOException
      • read

        public int read(byte[] b,
               int off,
               int len)
                 throws IOException
        Description copied from class: InputStream
        Reads at most length bytes from this stream and stores them in the byte array b starting at offset.
        Overrides:
        read in class InputStream
        Parameters:
        b - the byte array in which to store the bytes read.
        off - the initial position in buffer to store the bytes read from this stream.
        len - the maximum number of bytes to store in b.
        Returns:
        the number of bytes actually read or -1 if the end of the stream has been reached.
        Throws:
        IOException - if the stream is closed or another IOException occurs.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 43 / . Delta: 0.02595 с