IT. Expert System.

Android Reference

BaseStream


javax.obex

Interface BaseStream

  • All Known Implementing Classes:
    ClientOperation, ServerOperation


    public interface BaseStream
    This interface defines the methods needed by a parent that uses the PrivateInputStream and PrivateOutputStream objects defined in this package.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      boolean continueOperation(boolean sendEmpty, boolean inStream)
      Continues the operation since there is no data to read.
      void ensureNotDone()
      Verifies that additional information may be sent.
      void ensureOpen()
      Verifies that this object is still open.
      void streamClosed(boolean inStream)
      Called when the output or input stream is closed.
    • Method Detail

      • ensureOpen

        void ensureOpen()
                        throws IOException
        Verifies that this object is still open.
        Throws:
        IOException - if the object is closed
      • ensureNotDone

        void ensureNotDone()
                           throws IOException
        Verifies that additional information may be sent. In other words, the operation is not done.
        Throws:
        IOException - if the operation is completed
      • continueOperation

        boolean continueOperation(boolean sendEmpty,
                                boolean inStream)
                                  throws IOException
        Continues the operation since there is no data to read.
        Parameters:
        sendEmpty - true if the operation should send an empty packet or not send anything if there is no data to send
        inStream - true if the stream is input stream or is output stream
        Returns:
        true if the operation was completed; false if no operation took place
        Throws:
        IOException - if an IO error occurs
      • streamClosed

        void streamClosed(boolean inStream)
                          throws IOException
        Called when the output or input stream is closed.
        Parameters:
        inStream - true if the input stream is closed; false if the output stream is closed
        Throws:
        IOException - if an IO error 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: 176 / 158668863. Delta: 0.03424 с