All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JavaGroups.JavaStack.Protocols.FLUSH

java.lang.Object
   |
   +----JavaGroups.JavaStack.Protocol
           |
           +----JavaGroups.JavaStack.Protocols.FLUSH

public class FLUSH
extends Protocol
Flushes all pending multicasts out of the system (sending). Called by GMS before installing a new view. Only the coordinator responds to a FLUSH request from the GMS: it mcasts a FLUSH_REQ to all members. When a member receives a FLUSH_REQ, it performs the flushing (this involves passing a FLUSH event through the protocol stack and the subsequent blocking of each layer until a VIEW_CHANGE is received) and returns a FLUSH_RSP response. When all responses have been received (minus the ones from faulty members), a FLUSH_OK event is passed up the stack (and received by the GMS layer).


Constructor Index

 o FLUSH()

Method Index

 o Down(Event)
An event is to be sent down the stack.
 o GetName()
 o Reset()
Just remove if you don't need to reset any state
 o SetProperties(Properties)
Configures the protocol initially.
 o Up(Event)
An event was received from the layer below.

Constructors

 o FLUSH
 public FLUSH()

Methods

 o GetName
 public String GetName()
Overrides:
GetName in class Protocol
 o SetProperties
 public boolean SetProperties(Properties props)
Configures the protocol initially.

Overrides:
SetProperties in class Protocol
 o Reset
 public void Reset()
Just remove if you don't need to reset any state

Overrides:
Reset in class Protocol
 o Up
 public void Up(Event evt)
An event was received from the layer below.

Overrides:
Up in class Protocol
 o Down
 public void Down(Event evt)
An event is to be sent down the stack.

Overrides:
Down in class Protocol

All Packages  Class Hierarchy  This Package  Previous  Next  Index