|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jgroups.stack.Protocol org.jgroups.protocols.SMCAST
public class SMCAST
Simple Multicast Protocol. This protocol provides multicast communication by means of a simple multiple unicast scheme.
Field Summary |
---|
Fields inherited from class org.jgroups.stack.Protocol |
---|
down_prot, log, props, stack, stats, up_prot |
Constructor Summary | |
---|---|
SMCAST()
|
Method Summary | |
---|---|
java.lang.Object |
down(org.jgroups.Event evt)
An event is to be sent down the stack. |
java.lang.String |
getName()
|
boolean |
setProperties(java.util.Properties props)
|
void |
start()
|
void |
stop()
|
java.lang.Object |
up(org.jgroups.Event evt)
An event was received from the layer below. |
Methods inherited from class org.jgroups.stack.Protocol |
---|
destroy, downThreadEnabled, dumpStats, enableStats, getDownProtocol, getProperties, getUpProtocol, init, printStats, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, resetStats, setDownProtocol, setPropertiesInternal, setProtocolStack, setUpProtocol, statsEnabled, upThreadEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SMCAST()
Method Detail |
---|
public java.lang.Object down(org.jgroups.Event evt)
down_prot.down()
. In case of a GET_ADDRESS event (which tries to
retrieve the stack's address from one of the bottom layers), the layer may need to send
a new response event back up the stack using up_prot.up()
.
down
in class org.jgroups.stack.Protocol
public java.lang.String getName()
getName
in class org.jgroups.stack.Protocol
public boolean setProperties(java.util.Properties props)
setProperties
in class org.jgroups.stack.Protocol
public void start() throws java.lang.Exception
start
in class org.jgroups.stack.Protocol
java.lang.Exception
public void stop()
stop
in class org.jgroups.stack.Protocol
public java.lang.Object up(org.jgroups.Event evt)
down_prot.down()
or c) the event (or another event) is sent up
the stack using up_prot.up()
.
up
in class org.jgroups.stack.Protocol
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |