Package org.apache.vysper.xmpp.delivery.failure

Examples of org.apache.vysper.xmpp.delivery.failure.LocalRecipientOfflineException


                countFailed++;
                deliveryFailureStrategy.process(stanza, null);
                // TODO needs return here?
            }

            throw new LocalRecipientOfflineException("cannot find receiver " + receiver.getFullQualifiedName());
        }

        countDelivered++;
        receiverMap.get(receiver).deliver(stanza);
    }
View Full Code Here


            } else if (offlineStanzaReceiver != null) {
                offlineStanzaReceiver.receive(stanza);
                return new RelayResult(new DeliveredToOfflineReceiverException());
            } else {
                logger.warn("cannot relay to offline receiver {} stanza {}", receiver.getFullQualifiedName(), stanza.toString());
                return new RelayResult(new LocalRecipientOfflineException());
            }
        }
View Full Code Here

                countFailed++;
                deliveryFailureStrategy.process(stanza, null);
                // TODO needs return here?
            }

            throw new LocalRecipientOfflineException("cannot find receiver " + receiver.getFullQualifiedName());
        }

        countDelivered++;
        receiverMap.get(receiver).deliver(stanza);
    }
View Full Code Here

                offlineStanzaReceiver.receive(stanza);
                return new RelayResult(new DeliveredToOfflineReceiverException());
            } else {
                logger.warn("cannot relay to offline receiver {} stanza {}", receiver.getFullQualifiedName(), stanza
                        .toString());
                return new RelayResult(new LocalRecipientOfflineException());
            }
        }
View Full Code Here

                offlineStanzaReceiver.receive(stanza);
                return new RelayResult(new DeliveredToOfflineReceiverException());
            } else {
                logger.warn("cannot relay to offline receiver {} stanza {}", receiver.getFullQualifiedName(), stanza
                        .toString());
                return new RelayResult(new LocalRecipientOfflineException());
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.vysper.xmpp.delivery.failure.LocalRecipientOfflineException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.