com.dongxiguo.commons.continuations

io

package io

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. io
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AsynchronousInputStream extends InputStream

  2. final class ContinuationizedCompletionHandler[A] extends CompletionHandler[A, (Function1[A, _], Catcher[Unit])]

  3. trait SocketWritingQueue extends AnyRef

    SocketWritingQueue是线程安全的,允许多个线程向这里提交要写入的数据。 提交的缓冲区将按提交顺序排队写入

Value Members

  1. object AsynchronousInputStream

  2. object ContinuationizedCompletionHandler

  3. object SocketWritingQueue

    Attributes
    protected
  4. final def writeAll(socket: AsynchronousSocketChannel, buffers: Array[ByteBuffer], timeout: Long, unit: TimeUnit): Unit @scala.util.continuations.cpsParam[Unit,Unit]

    只要连接没断就能成功写入,但如果连接断开了就会失败而且不做任何提示。

  5. final def writeAll(socket: AsynchronousSocketChannel, buffers: Array[ByteBuffer], bufferOffset: Int, bufferLength: Int, timeout: Long, unit: TimeUnit): Unit @scala.util.continuations.cpsParam[Unit,Unit]

    只要连接没断就能成功写入,但如果连接断开了就会失败而且不做任何提示。

Inherited from AnyRef

Inherited from Any

Ungrouped