colossus.testkit

MockWriteBuffer

class MockWriteBuffer extends WriteBuffer

if a handler is passed, the buffer will call the handler's readyForData, and it will call it's own handleWrite if interestRW is true

Linear Supertypes
WriteBuffer, KeyInterestManager, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MockWriteBuffer
  2. WriteBuffer
  3. KeyInterestManager
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MockWriteBuffer(maxWriteSize: Int, handler: Option[ConnectionHandler] = scala.None)

Value Members

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

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

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

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

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

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

    Definition Classes
    Any
  7. var bytesAvailable: Int

  8. def bytesSent: Long

    Definition Classes
    WriteBuffer
  9. def channelWrite(data: DataBuffer): Int

    Definition Classes
    MockWriteBuffer → WriteBuffer
  10. def clearBuffer(): ByteString

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. var connection_status: ConnectionStatus

  13. def disableReads(): Unit

    Definition Classes
    KeyInterestManager
  14. def disableWriteReady(): Unit

    Definition Classes
    KeyInterestManager
  15. def enableReads(): Unit

    Definition Classes
    KeyInterestManager
  16. def enableWriteReady(): Unit

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

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

    Definition Classes
    AnyRef → Any
  19. def expectBufferCleared(): Unit

  20. def expectBufferNotCleared(): Unit

  21. def expectNoWrite(): Unit

  22. def expectOneWrite(data: ByteString): Unit

  23. def expectWrite(data: ByteString): Unit

  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  26. def handleWrite(): Unit

    Definition Classes
    WriteBuffer
  27. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  28. def isDataBuffered: Boolean

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

    Definition Classes
    Any
  30. val maxWriteSize: Int

  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. def onBufferClear(): Unit

    Definition Classes
    MockWriteBuffer → WriteBuffer
  35. def readsEnabled: Boolean

    Definition Classes
    KeyInterestManager
  36. def setKeyInterest(): Unit

    Attributes
    protected
    Definition Classes
    MockWriteBuffer → KeyInterestManager
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def write(raw: DataBuffer): WriteStatus

    Definition Classes
    WriteBuffer
  43. def writeReadyEnabled: Boolean

    Definition Classes
    KeyInterestManager

Inherited from WriteBuffer

Inherited from KeyInterestManager

Inherited from AnyRef

Inherited from Any

Ungrouped