akka.cluster
Class GossipEnvelope

java.lang.Object
  extended by akka.cluster.GossipEnvelope
All Implemented Interfaces:
ClusterMessage, java.io.Serializable

public class GossipEnvelope
extends java.lang.Object
implements ClusterMessage

INTERNAL API Envelope adding a sender and receiver address to the gossip. The reason for including the receiver address is to be able to ignore messages that were intended for a previous incarnation of the node with same host:port. The uid in the UniqueAddress is different in that case.

See Also:
Serialized Form

Method Summary
static GossipEnvelope apply(UniqueAddress from, UniqueAddress to, scala.concurrent.duration.Deadline serDeadline, scala.Function0<Gossip> ser)
           
static GossipEnvelope apply(UniqueAddress from, UniqueAddress to, Gossip gossip)
           
 UniqueAddress from()
           
 Gossip g()
           
 Gossip gossip()
           
 scala.Function0<Gossip> ser()
           
 UniqueAddress to()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

apply

public static GossipEnvelope apply(UniqueAddress from,
                                   UniqueAddress to,
                                   Gossip gossip)

apply

public static GossipEnvelope apply(UniqueAddress from,
                                   UniqueAddress to,
                                   scala.concurrent.duration.Deadline serDeadline,
                                   scala.Function0<Gossip> ser)

from

public UniqueAddress from()

to

public UniqueAddress to()

g

public Gossip g()

ser

public scala.Function0<Gossip> ser()

gossip

public Gossip gossip()