nl.west.aaa
Class DomainHandler
java.lang.Object
|
+--nl.west.aaa.MessageHandlerContainer
|
+--nl.west.aaa.DomainHandler
- public class DomainHandler
- extends MessageHandlerContainer
- implements MessageHandler
Method Summary |
void |
addDomain(java.lang.String domain)
Add the given domain to the list of domains
this messagehandler can process. |
boolean |
handleMessage(Message msg,
AAAUnit unit)
Process the incoming message. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DomainHandler
public DomainHandler()
addDomain
public void addDomain(java.lang.String domain)
- Add the given domain to the list of domains
this messagehandler can process.
handleMessage
public boolean handleMessage(Message msg,
AAAUnit unit)
- Description copied from interface: MessageHandler
- Process the incoming message. Return false if message
cannot be processed in the current context.
If the message is processed and handled by
this class, return true.
The given AAAUnit can be used to send replies.
- Specified by:
- handleMessage in interface MessageHandler
- Overrides:
- handleMessage in class MessageHandlerContainer
|