net.sf.beep4j
Class NullReplyHandler

java.lang.Object
  extended by net.sf.beep4j.NullReplyHandler
All Implemented Interfaces:
ReplyHandler

public class NullReplyHandler
extends java.lang.Object
implements ReplyHandler


Constructor Summary
NullReplyHandler()
           
 
Method Summary
 void receivedANS(Message message)
          Invoked when an ANS response is received.
 void receivedERR(Message message)
          Invoked when an ERR response is received.
 void receivedNUL()
          Invoked when a NUL response is received.
 void receivedRPY(Message message)
          Invoked when a RPY response is received.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullReplyHandler

public NullReplyHandler()
Method Detail

receivedANS

public void receivedANS(Message message)
Description copied from interface: ReplyHandler
Invoked when an ANS response is received. For a one-to-many exchange style this method can be invoked 0 or more times.

Specified by:
receivedANS in interface ReplyHandler
Parameters:
message - the received message

receivedERR

public void receivedERR(Message message)
Description copied from interface: ReplyHandler
Invoked when an ERR response is received. This type of response is also termed negativ reply.

Specified by:
receivedERR in interface ReplyHandler
Parameters:
message - the received message

receivedNUL

public void receivedNUL()
Description copied from interface: ReplyHandler
Invoked when a NUL response is received. For a one-to-many exchange style this method marks the end of such an exchange. No further methods must be invoked on the listener after this method has been invoked.

Specified by:
receivedNUL in interface ReplyHandler

receivedRPY

public void receivedRPY(Message message)
Description copied from interface: ReplyHandler
Invoked when a RPY response is received. This type of response is also termed positiv reply.

Specified by:
receivedRPY in interface ReplyHandler
Parameters:
message - the received message


Copyright © 2007 null. All Rights Reserved.