JavaGroups.JavaStack.Protocols
Class MessageProtocolEXAMPLE
java.lang.Object
|
+--JavaGroups.JavaStack.Protocol
|
+--JavaGroups.JavaStack.MessageProtocol
|
+--JavaGroups.JavaStack.Protocols.MessageProtocolEXAMPLE
- public class MessageProtocolEXAMPLE
- extends MessageProtocol
| Methods inherited from class JavaGroups.JavaStack.Protocol |
GetDownProtocol,
GetProperties,
GetUpProtocol,
PassDown,
PassUp,
ProvidedDownServices,
ProvidedUpServices,
RequiredDownServices,
RequiredUpServices,
Reset,
SetDownProtocol,
SetProperties,
SetProtocolStack,
SetUpProtocol,
StartDownHandler,
StartUpHandler,
StopInternal |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
MessageProtocolEXAMPLE
public MessageProtocolEXAMPLE()
GetName
public java.lang.String GetName()
- Overrides:
- GetName in class Protocol
Handle
public java.lang.Object Handle(Message req)
- Callback. Called when a request for this protocol layer is received.
- Overrides:
- Handle in class MessageProtocol
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.
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.