Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class fi.hut.tcm.jacob.conduits.Notifier

java.lang.Object
  |
  +--fi.hut.tcm.jacob.conduits.Notifier

public final class Notifier
extends java.lang.Object
implements NotifyMessenger, Messenger
Notifier This class implements the abstract class NotifyMessenger. If you use an Notifier object as a messenger, you must use NotifyOob as the out of band object of the message.


Field Summary
static Notifier instance
          Notifier is a singleton, get a reference from here.
 
Method Summary
void apply(Message message, State state, Session session)
           
Message getRequest(Message message)
           
int getStatusCode(Message message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

instance

public static final Notifier instance
Notifier is a singleton, get a reference from here.
Method Detail

getRequest

public Message getRequest(Message message)
Description copied from interface:
Returns a reference to the request message. (The notify message signals completion/failure of the request returned.)
Specified by:
getRequest in interface NotifyMessenger

getStatusCode

public int getStatusCode(Message message)
Description copied from interface:
Returns the status code for the completion of the request returned by getRequest(). The used status code may be one of the values NotifyMessenger.SUCCESS or NotifyMessenger.FAILURE, but need not be.
Specified by:
getStatusCode in interface NotifyMessenger

apply

public void apply(Message message,
                  State state,
                  Session session)
Description copied from interface:
 
Specified by:
apply in interface Messenger

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD