MulticastJoin

sealed abstract
class MulticastJoin[+A <: IpAddress] extends Product with Serializable

Represents a join of a multicast group.

This is represented as an ADT consisting of two constructors, AnySourceMulticastJoin and SourceSpecificMulticastJoin. These constructors are provided as top level types to allow domain modeling where a specific join type is required. The address type is parameterized for a similar reason -- to allow domain modeling where a specific address type is required.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Narrows to an AnySourceMulticastJoin.

Narrows to an AnySourceMulticastJoin.

Narrows to a SourceSpecificMulticastJoin.

Narrows to a SourceSpecificMulticastJoin.

def fold[B](asm: AnySourceMulticastJoin[A] => B, ssm: SourceSpecificMulticastJoin[A] => B): B

Converts this join to a value of type A using the supplied functions.

Converts this join to a value of type A using the supplied functions.

def sourceAndGroup: (Option[A], Multicast[A])

Returns the source address and group address. If this join is an any-source join, None is returned for the source. Otherwise, this join is a source specific join and Some(src) is returned for the source.

Returns the source address and group address. If this join is an any-source join, None is returned for the source. Otherwise, this join is a source specific join and Some(src) is returned for the source.

override
def toString: String
Definition Classes
Any

Inherited methods

def canEqual(that: Any): Boolean
Inherited from
Equals
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product