AddressedEnvelope

cc.otavia.core.channel.udp.AddressedEnvelope
trait AddressedEnvelope[M, A <: SocketAddress]

A message that wraps another message with a sender address and a recipient address.

Type parameters

A

the type of the address

M

the type of the wrapped message

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def content: M

Returns the message wrapped by this envelope message.

Returns the message wrapped by this envelope message.

Attributes

def recipient: A

Returns the address of the recipient of this message.

Returns the address of the recipient of this message.

Attributes

def sender: Option[A]

Returns the address of the sender of this message.

Returns the address of the sender of this message.

Attributes