org.caleigo.security
Class LoginService.LoginServiceMessageConsumer

java.lang.Object
  extended byorg.caleigo.security.LoginService.LoginServiceMessageConsumer
All Implemented Interfaces:
IMessageConsumer
Enclosing class:
LoginService

protected class LoginService.LoginServiceMessageConsumer
extends java.lang.Object
implements IMessageConsumer


Constructor Summary
LoginService.LoginServiceMessageConsumer()
           
 
Method Summary
 boolean acceptsMessage(java.lang.Object message)
          Returns true if this IMessageConsumer accepts the message.
 java.lang.Object answerMessage(java.lang.Object message)
          Tells the IMessageConsumer to consume a message and returns a new message that will be delivered to the sender of the originial message.
 void consumeMessage(java.lang.Object message)
          Tells the IMessageConsumer to consume a message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginService.LoginServiceMessageConsumer

public LoginService.LoginServiceMessageConsumer()
Method Detail

acceptsMessage

public boolean acceptsMessage(java.lang.Object message)
Returns true if this IMessageConsumer accepts the message. This method is allways called before consumeMessage for any given message.

Specified by:
acceptsMessage in interface IMessageConsumer

consumeMessage

public void consumeMessage(java.lang.Object message)
Tells the IMessageConsumer to consume a message.

Specified by:
consumeMessage in interface IMessageConsumer

answerMessage

public java.lang.Object answerMessage(java.lang.Object message)
Tells the IMessageConsumer to consume a message and returns a new message that will be delivered to the sender of the originial message.

Specified by:
answerMessage in interface IMessageConsumer


Copyright © 2005 Caleigo. All Rights Reserved.