net.sf.beep4j.internal
Class SessionImpl.InitialReply

java.lang.Object
  extended by net.sf.beep4j.internal.SessionImpl.DefaultReply
      extended by net.sf.beep4j.internal.SessionImpl.InitialReply
All Implemented Interfaces:
Reply
Enclosing class:
SessionImpl

protected class SessionImpl.InitialReply
extends SessionImpl.DefaultReply


Constructor Summary
SessionImpl.InitialReply(TransportMapping mapping)
           
 
Method Summary
 void sendANS(Message message)
          Sends a reply of type ANS.
 void sendNUL()
          Sends a reply of type NUL.
 
Methods inherited from class net.sf.beep4j.internal.SessionImpl.DefaultReply
createMessageBuilder, sendERR, sendRPY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionImpl.InitialReply

public SessionImpl.InitialReply(TransportMapping mapping)
Method Detail

sendANS

public void sendANS(Message message)
Description copied from interface: Reply
Sends a reply of type ANS. This method can be called zero or more times. To complete the response the method Reply.sendNUL() has to be invoked.

Specified by:
sendANS in interface Reply
Overrides:
sendANS in class SessionImpl.DefaultReply
Parameters:
message - the response

sendNUL

public void sendNUL()
Description copied from interface: Reply
Sends a reply of type NUL. This method must be called to complete a one-to-many exchange.

Specified by:
sendNUL in interface Reply
Overrides:
sendNUL in class SessionImpl.DefaultReply


Copyright © 2007 null. All Rights Reserved.