org.jgroups.protocols

Class PIGGYBACK

public class PIGGYBACK extends Protocol

Combines multiple messages into a single large one. As many messages as possible are combined into one, after a max timeout or when the msg size becomes too big the message is sent. On the receiving side, the large message is spliced into the smaller ones and delivered.
Nested Class Summary
static classPIGGYBACK.PiggybackHeader
Method Summary
voiddown(Event evt)
StringgetName()
All protocol names have to be unique !
booleansetProperties(Properties props)
voidstart()
voidstop()
voidup(Event evt)

Method Detail

down

public void down(Event evt)

getName

public String getName()
All protocol names have to be unique !

setProperties

public boolean setProperties(Properties props)

start

public void start()

stop

public void stop()

up

public void up(Event evt)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.