org.apache.vysper.xmpp.delivery.failure
Class ReturnErrorToSenderFailureStrategy

java.lang.Object
  extended by org.apache.vysper.xmpp.delivery.failure.ReturnErrorToSenderFailureStrategy
All Implemented Interfaces:
DeliveryFailureStrategy

public class ReturnErrorToSenderFailureStrategy
extends java.lang.Object
implements DeliveryFailureStrategy


Constructor Summary
ReturnErrorToSenderFailureStrategy(StanzaRelay stanzaRelay)
           
 
Method Summary
 void process(Stanza failedToDeliverStanza, DeliveryException deliveryException)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReturnErrorToSenderFailureStrategy

public ReturnErrorToSenderFailureStrategy(StanzaRelay stanzaRelay)
Method Detail

process

@SpecCompliance(compliant={@SpecCompliant(spec="rfc3921bis-08",section="8.1",status=FINISHED,coverage=COMPLETE),@SpecCompliant(spec="rfc3921bis-08",section="8.3.2",status=NOT_STARTED,coverage=UNKNOWN),@SpecCompliant(spec="rfc3921bis-08",section="4.3",status=NOT_STARTED,coverage=UNKNOWN)})
public void process(Stanza failedToDeliverStanza,
                                                                                                                                                                                                                     DeliveryException deliveryException)
             throws DeliveryException
Specified by:
process in interface DeliveryFailureStrategy
Parameters:
failedToDeliverStanza - - stanza which could not be delivered
deliveryException - - optional: exception which occured during the failed delivery
Throws:
DeliveryException - - exception which occured during failure strategy execution.