aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/server/xmpp/router/StreamHandler.java
blob: 048c61ecc93c5d4ae88d789842ad535af710ea04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.juick.server.xmpp.router;

import rocks.xmpp.addr.Jid;

/**
 * Created by vitalyster on 01.02.2017.
 */
public interface StreamHandler {
    void ready(StreamComponentServer componentServer);
    void fail(final Exception ex);
    boolean filter(Jid from, Jid to);
    void stanzaReceived(String stanza);
}