org.zeromq.transport

ProtobufTransport

class ProtobufTransport[+Incoming <: MessageLite, -Outgoing <: MessageLite] extends MessageTransport[Incoming, Outgoing]

Protocol buffer message transport layered on top of a ZeroMQ socket.

Incoming

Incoming protocol buffer type

Outgoing

Outgoing protocol buffer type

Linear Supertypes
MessageTransport[Incoming, Outgoing], Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ProtobufTransport
  2. MessageTransport
  3. Closeable
  4. AutoCloseable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProtobufTransport(next: MessageTransport[List[Array[Byte]], List[Array[Byte]]], incomingPrototype: Incoming)

    next

    Underlying transport

    incomingPrototype

    Prototype for incoming messages

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. def clone(): AnyRef

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

    Definition Classes
    MessageTransport → Closeable → AutoCloseable
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  14. val incomingPrototype: Incoming

    Prototype for incoming messages

  15. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  17. val next: MessageTransport[List[Array[Byte]], List[Array[Byte]]]

    Underlying transport

  18. final def notify(): Unit

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

    Definition Classes
    AnyRef
  20. def receive(block: Boolean = true): (Incoming, List[Array[Byte]])

    Receive a message through the transport.

    Receive a message through the transport.

    block

    Whether the operation should block (default: true)

    returns

    The incoming message and its routing path

    Definition Classes
    ProtobufTransportMessageTransport
  21. def send(message: Outgoing, path: List[Array[Byte]] = Nil, block: Boolean = true): Unit

    Send a message through the transport.

    Send a message through the transport.

    message

    The message to transmit

    path

    Routing path for the message

    block

    Whether the operation should block (default: true)

    Definition Classes
    ProtobufTransportMessageTransport
  22. def socket: Socket

    The socket underlying this transport.

    The socket underlying this transport.

    Definition Classes
    ProtobufTransportMessageTransport
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. def tryReceive(): Option[(Incoming, List[Array[Byte]])]

    Perform a non-blocking receive operation and report the blocking error condition through an empty return value.

    Perform a non-blocking receive operation and report the blocking error condition through an empty return value.

    returns

    Some message if the receive was successful, none if it would block

    Definition Classes
    MessageTransport
  26. def trySend(message: Outgoing, path: List[Array[Byte]] = Nil): Boolean

    Perform a non-blocking send operation and report the blocking error condition through a boolean return value.

    Perform a non-blocking send operation and report the blocking error condition through a boolean return value.

    message

    The message to transmit

    path

    Routing path for the message

    returns

    true if the send was successful, false if it would block

    Definition Classes
    MessageTransport
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MessageTransport[Incoming, Outgoing]

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped