Receive

channels.Receive
trait Receive[T]

Provides a specification how to handle messages, given a connection context. Failure calls on the callback generally indicate connection errors on the receiver side.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def messageHandler(answers: Connection[T]): Callback[T]

The provided connection is not guaranteed to be useable until the first message is received. If you want to initiate sending messages on this connection, use the value returned by the prepare call of the latent connection instead.

The provided connection is not guaranteed to be useable until the first message is received. If you want to initiate sending messages on this connection, use the value returned by the prepare call of the latent connection instead.

Attributes