@FunctionalInterface
public interface StreamHandler
A functional interface for handling inbound stream elements which are read from a connection.
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleElement(java.lang.Object streamElement)
Handles an inbound stream element.
|
boolean handleElement(java.lang.Object streamElement)
throws XmppException
Handles an inbound stream element.
streamElement - The stream element.XmppException - If an exception occurred, usually during stream negotiation.Copyright © 2014–2019 XMPP.rocks. All rights reserved.