com.twitter.finagle.transport

QueueTransport

Related Doc: package transport

class QueueTransport[In, Out] extends Transport[In, Out]

A Transport interface to a pair of queues (one for reading, one for writing); useful for testing.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. QueueTransport
  2. Transport
  3. Closable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QueueTransport(writeq: AsyncQueue[In], readq: AsyncQueue[Out])

Value Members

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

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

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

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

    Definition Classes
    Any
  5. def cast[In1, Out1]: Transport[In1, Out1]

    Cast this transport to Transport[In1, Out1].

    Cast this transport to Transport[In1, Out1]. Note that this is generally unsafe: only do this when you know the cast is guaranteed safe.

    Definition Classes
    Transport
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def close(deadline: Time): Future[Nothing]

    Definition Classes
    QueueTransport → Closable
  8. def close(after: Duration): Future[Unit]

    Definition Classes
    Closable
  9. final def close(): Future[Unit]

    Definition Classes
    Closable
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. val localAddress: SocketAddress

    The locally bound address of this transport.

    The locally bound address of this transport.

    Definition Classes
    QueueTransportTransport
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  20. val onClose: Promise[Throwable]

    The channel closed with the given exception.

    The channel closed with the given exception. This is the same exception you would get if attempting to read or write on the Transport, but this allows clients to listen to close events.

    Definition Classes
    QueueTransportTransport
  21. def read(): Future[Out]

    Read a message from the transport.

    Read a message from the transport.

    Definition Classes
    QueueTransportTransport
  22. val remoteAddress: SocketAddress

    The remote address to which the transport is connected.

    The remote address to which the transport is connected.

    Definition Classes
    QueueTransportTransport
  23. def status: Status

    The status of this transport; see com.twitter.finagle.Status$ for status definitions.

    The status of this transport; see com.twitter.finagle.Status$ for status definitions.

    Definition Classes
    QueueTransportTransport
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def write(input: In): Future[Unit]

    Write {{req}} to this transport; the returned future acknowledges write completion.

    Write {{req}} to this transport; the returned future acknowledges write completion.

    Definition Classes
    QueueTransportTransport

Inherited from Transport[In, Out]

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped