IT. Expert System.

Android Reference

SSLEngineDataStream


org.apache.harmony.xnet.provider.jsse

Class SSLEngineDataStream

  • All Implemented Interfaces:
    DataStream


    public class SSLEngineDataStream
    extends Object
    implements DataStream
    This class provides the DataStream functionality implemented over the array of ByteBuffer instances. Among with the data chunks read functionality it provides the info about amount of consumed data. The source ByteBuffer objects can be replaced by other. So one instance of this wrapper can be reused for several data sources.
    • Constructor Detail

      • SSLEngineDataStream

        protected SSLEngineDataStream()
    • Method Detail

      • setSourceBuffers

        protected void setSourceBuffers(ByteBuffer[] srcs,
                            int offset,
                            int length)
      • available

        public int available()
      • hasData

        public boolean hasData()
        Description copied from interface: DataStream
        Checks if there is data to be read.
        Specified by:
        hasData in interface DataStream
        Returns:
        true if there is the input data in the stream, false otherwise
      • getData

        public byte[] getData(int length)
        Description copied from interface: DataStream
        Retrieves the data of specified length from the stream. If the data size in the stream is less than specified length, method returns all the data contained in the stream.
        Specified by:
        getData in interface DataStream
        Returns:
        byte array containing the demanded data.
      • consumed

        protected int consumed()


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: 14842 / 248392065. Delta: 0.02732 с