net.sf.asyncobjects.asyncscala.nio.text

EncoderOutput

class EncoderOutput extends CloseableBase with ATextOutput

The encoder output for the stream

Linear Supertypes
AOutput[CharBuffer], CloseableBase, ACloseable, Asynchronous, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. EncoderOutput
  2. AOutput
  3. CloseableBase
  4. ACloseable
  5. Asynchronous
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def checkClosed (): Unit

    Check if the stream has been closed

    Check if the stream has been closed

    Attributes
    protected
    Definition Classes
    CloseableBase
  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def close : Promise[Unit]

    The #close() operation should be idempotent.

    The #close() operation should be idempotent. It should be no problem with closing the same object twice. The close operation should cancel the current operation if possible. The close should throw exception only in serious cases (for example in case of data loss, or inconsistent data)

    returns

    a promise that resolves when object finishes closing

    Definition Classes
    EncoderOutputCloseableBaseACloseable
  10. var closed : Boolean

    If true, stream has been closed

    If true, stream has been closed

    Attributes
    protected
    Definition Classes
    CloseableBase
  11. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  12. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def flush : Promise[Unit]

    Flush as much data from buffers as possible.

    Flush as much data from buffers as possible. Note that some data could remain in the buffers if it could not be readily converted (for example, incomplete code points in internal character buffer for net.sf.asyncobjects.nio.text.EncoderOutput).

    returns

    a promise that resolves when data finishes flushing

    Definition Classes
    EncoderOutputAOutput
  15. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  16. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  17. def internalFlush (eof: Boolean): Promise[Unit]

  18. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  19. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  20. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  21. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  22. val requests : RequestQueue

    Request queue for the stream

  23. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  24. def toString (): String

    Definition Classes
    AnyRef → Any
  25. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  26. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  27. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. def write (buffer: CharBuffer): Promise[Unit]

    Write data to stream.

    Write data to stream. Note that the data will be written completely. If data could not be completely processed, it should be saved in stream's buffer.

    buffer

    a buffer with data to write

    returns

    a promise that resolves when data finished writing

    Definition Classes
    EncoderOutputAOutput

Inherited from AOutput[CharBuffer]

Inherited from CloseableBase

Inherited from ACloseable

Inherited from Asynchronous

Inherited from AnyRef

Inherited from Any