org.jgroups.protocols

Class RpcProtocolEXAMPLE

public class RpcProtocolEXAMPLE extends RpcProtocol

Method Summary
Objectbar(int a, int b)
voidfoo()
StringgetName()
booleanhandleDownEvent(Event evt)
Callback.
booleanhandleUpEvent(Event evt)
Callback.

Method Detail

bar

public Object bar(int a, int b)

foo

public void foo()

getName

public String getName()

handleDownEvent

public boolean handleDownEvent(Event evt)
Callback. Called by superclass when event may be handled.

Do not use PassDown in this method as the event is passed down by default by the superclass after this method returns !

Returns: boolean Defaults to true. If false, event will not be passed down the stack.

handleUpEvent

public boolean handleUpEvent(Event evt)
Callback. Called by superclass when event may be handled.

Do not use PassUp in this method as the event is passed up by default by the superclass after this method returns !

Returns: boolean Defaults to true. If false, event will not be passed up the stack.

Copyright ? 1998-2005 Bela Ban. All Rights Reserved.