Class

colossus.testkit

MockWriteBuffer

Related Doc: package testkit

Permalink

class MockWriteBuffer extends WriteBuffer with MockChannelActions

Linear Supertypes
MockChannelActions, WriteBuffer, KeyInterestManager, ChannelActions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MockWriteBuffer
  2. MockChannelActions
  3. WriteBuffer
  4. KeyInterestManager
  5. ChannelActions
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MockWriteBuffer(maxWriteSize: Int)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. var bytesAvailable: Int

    Permalink
    Attributes
    protected
    Definition Classes
    MockChannelActions
  6. def bytesSent: Long

    Permalink
    Definition Classes
    WriteBuffer
  7. def channelClose(): Unit

    Permalink
    Definition Classes
    MockChannelActions → ChannelActions
  8. def channelHost(): InetAddress

    Permalink
    Definition Classes
    MockChannelActions → ChannelActions
  9. def channelWrite(data: DataBuffer): Int

    Permalink
    Definition Classes
    MockChannelActions → ChannelActions
  10. def clearBuffer(): ByteString

    Permalink
    Definition Classes
    MockChannelActions
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def completeDisconnect(): Unit

    Permalink
    Definition Classes
    MockWriteBuffer → WriteBuffer
  13. var connection_status: ConnectionStatus

    Permalink
    Attributes
    protected
    Definition Classes
    MockChannelActions
  14. def disableReads(): Unit

    Permalink
    Definition Classes
    KeyInterestManager
  15. def disableWriteReady(): Unit

    Permalink
    Definition Classes
    KeyInterestManager
  16. def disconnectCalled: Boolean

    Permalink
    Definition Classes
    MockChannelActions
  17. def enableReads(): Unit

    Permalink
    Definition Classes
    KeyInterestManager
  18. def enableWriteReady(): Unit

    Permalink
    Definition Classes
    KeyInterestManager
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. def expectNoWrite(): Unit

    Permalink
    Definition Classes
    MockChannelActions
  22. def expectNumWrites(num: Int, debug: Boolean = false): Unit

    Permalink

    Expect exactly num writes

    Expect exactly num writes

    Definition Classes
    MockChannelActions
  23. def expectOneWrite(data: ByteString, debug: Boolean = false): Unit

    Permalink
    Definition Classes
    MockChannelActions
  24. def expectWrite(data: ByteString): Unit

    Permalink
    Definition Classes
    MockChannelActions
  25. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def finishConnect(): Unit

    Permalink
    Definition Classes
    MockChannelActions → ChannelActions
  27. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  28. def gracefulDisconnect(): Unit

    Permalink
    Definition Classes
    WriteBuffer
  29. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  30. def isDataBuffered: Boolean

    Permalink
    Definition Classes
    WriteBuffer
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. def keyInterestOps(ops: Int): Unit

    Permalink
    Definition Classes
    MockChannelActions → ChannelActions
  33. def lastTimeDataWritten: Long

    Permalink
    Definition Classes
    WriteBuffer
  34. val maxWriteSize: Int

    Permalink
    Definition Classes
    MockWriteBufferMockChannelActions
  35. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. def readsEnabled: Boolean

    Permalink
    Definition Classes
    KeyInterestManager
  39. def requestWrite(): Unit

    Permalink
    Definition Classes
    WriteBuffer
  40. def setKeyInterest(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    KeyInterestManager
  41. def status: ConnectionStatus

    Permalink
    Definition Classes
    MockChannelActions → ChannelActions
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def testWrite(d: DataBuffer): WriteStatus

    Permalink
  44. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. def withExpectedWrite(f: (ByteString) ⇒ Unit): Unit

    Permalink
    Definition Classes
    MockChannelActions
  49. def write(raw: DataBuffer): WriteStatus

    Permalink
    Attributes
    protected
    Definition Classes
    WriteBuffer
  50. def writeReadyEnabled: Boolean

    Permalink
    Definition Classes
    KeyInterestManager

Inherited from MockChannelActions

Inherited from WriteBuffer

Inherited from KeyInterestManager

Inherited from ChannelActions

Inherited from AnyRef

Inherited from Any

Ungrouped