public class MessageProtocolEXAMPLE extends MessageProtocol
_corr, members
down_handler, down_prot, down_queue, down_thread, down_thread_prio, log, observer, props, stack, stats, up_handler, up_prot, up_queue, up_thread, up_thread_prio
Constructor and Description |
---|
MessageProtocolEXAMPLE() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.Object |
handle(Message req)
Callback.
|
boolean |
handleDownEvent(Event evt)
Callback.
|
boolean |
handleUpEvent(Event evt)
Callback.
|
castMessage, down, sendMessage, start, stop, up, updateView
destroy, downThreadEnabled, dumpStats, enableStats, getDownProtocol, getDownQueue, getProperties, getUpProtocol, getUpQueue, handleSpecialDownEvent, init, passDown, passUp, printStats, providedDownServices, providedUpServices, receiveDownEvent, receiveUpEvent, requiredDownServices, requiredUpServices, resetStats, setDownProtocol, setObserver, setProperties, setPropertiesInternal, setProtocolStack, setUpProtocol, startDownHandler, startUpHandler, statsEnabled, stopInternal, upThreadEnabled
public java.lang.Object handle(Message req)
handle
in interface RequestHandler
handle
in class MessageProtocol
public boolean handleUpEvent(Event evt)
Do not use PassUp
in this method as the event is passed up
by default by the superclass after this method returns !
handleUpEvent
in class MessageProtocol
public boolean handleDownEvent(Event evt)
Do not use PassDown
in this method as the event is passed down
by default by the superclass after this method returns !
handleDownEvent
in class MessageProtocol
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.