nl.west.aaa
Class DomainHandler

java.lang.Object
  |
  +--nl.west.aaa.MessageHandlerContainer
        |
        +--nl.west.aaa.DomainHandler

public class DomainHandler
extends MessageHandlerContainer
implements MessageHandler


Fields inherited from class nl.west.aaa.MessageHandlerContainer
messageHandlers
 
Constructor Summary
DomainHandler()
           
 
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 nl.west.aaa.MessageHandlerContainer
addMessageHandler, removeMessageHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomainHandler

public DomainHandler()
Method Detail

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



Arthur <arthur@ch.twi.tudelft.nl> http://ch.twi.tudelft.nl/~arthur/
2002-05-27