Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletionStage<java.lang.Void> |
Connection.send(StreamElement streamElement)
Sends an element to the peer entity.
|
java.util.concurrent.CompletionStage<java.lang.Void> |
Connection.write(StreamElement streamElement)
Writes the element to the stream without really sending it.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<java.lang.Void> |
SocketConnection.send(StreamElement element) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
SocketConnection.write(StreamElement streamElement) |
Modifier and Type | Class and Description |
---|---|
class |
Abort
The implementation of the
<abort/> element to abort SASL negotiation. |
class |
Auth
The implementation of the
<auth/> element to initialize the SASL authentication process. |
class |
Challenge
The implementation of the
<challenge/> element, which is sent during SASL negotiation. |
class |
Failure
The implementation of the
<failure/> element, which indicates a SASL failure. |
class |
Response
The implementation of the
<response/> element, which is sent during the SASL negotiation. |
class |
Success
The implementation of the
<success/> element, which indicates success during SASL negotiation. |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<java.lang.Void> |
XmppSession.send(StreamElement element)
Sends an XML element to the server, usually a stanza, i.e. a message, presence or IQ.
|
Modifier and Type | Method and Description |
---|---|
void |
XmppSession.addSendFailedListener(java.util.function.BiConsumer<StreamElement,java.lang.Throwable> sendFailedListener)
Adds a listener, which gets called, whenever a stream element (e.g. message) has been sent unsuccessfully.
|
void |
XmppSession.addSendSucceededListener(java.util.function.Consumer<StreamElement> sendSucceededListener)
Adds a listener, which gets called, whenever a stream element (e.g. message) has been sent successfully.
|
void |
XmppSession.removeSendFailedListener(java.util.function.BiConsumer<StreamElement,java.lang.Throwable> sendFailedListener)
Removes a previously added send failed listener.
|
void |
XmppSession.removeSendSucceededListener(java.util.function.Consumer<StreamElement> sendSucceededListener)
Removes a previously added send succeeded listener.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SessionOpen
This interface describes the common attributes for opening a XMPP session.
|
Modifier and Type | Class and Description |
---|---|
class |
ExtensibleStanza
A stanza which is extensible (can have more than one extension), i.e.
|
class |
IQ
The implementation of the
<iq/> stanza. |
class |
Message
The implementation of the
<message/> element. |
class |
Presence
The implementation of the
<presence/> element. |
class |
Stanza
The abstract base class for a XML stanza.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientIQ
The implementation of the
<iq/> element in the jabber:client namespace. |
class |
ClientMessage
The implementation of the
<message/> element in the jabber:client namespace. |
class |
ClientPresence
The implementation of the
<presence/> element in the jabber:client namespace. |
Modifier and Type | Class and Description |
---|---|
class |
ServerIQ
The implementation of the
<iq/> element in the jabber:server namespace. |
class |
ServerMessage
The implementation of the
<message/> element in the jabber:server namespace. |
class |
ServerPresence
The implementation of the
<presence/> element in the jabber:server namespace. |
Modifier and Type | Class and Description |
---|---|
class |
StreamError
The implementation of the
<stream:error/> element. |
class |
StreamFeatures
The implementation of the
<stream:features/> element. |
class |
StreamHeader
Represents the XMPP stream header.
|
Modifier and Type | Field and Description |
---|---|
static StreamElement |
StreamHeader.CLOSING_STREAM_TAG
The closing stream tag
</stream:stream> . |
Modifier and Type | Class and Description |
---|---|
class |
Proceed
Represents the TLS proceed case.
|
class |
StartTls
Represents the STARTTLS feature and initiates the TLS negotiation process.
|
Modifier and Type | Class and Description |
---|---|
class |
ComponentIQ
The implementation of the
<iq/> element in the jabber:component:accept namespace. |
class |
ComponentMessage
The implementation of the
<message/> element in the jabber:component:accept namespace. |
class |
ComponentPresence
The implementation of the
<presence/> element in the jabber:component:accept namespace. |
class |
Handshake |
Modifier and Type | Class and Description |
---|---|
class |
StreamCompression
An abstract base class for all stream compression classes in the
http://jabber.org/protocol/compress namespace. |
static class |
StreamCompression.Compress
The implementation of the
<compress/> element in the http://jabber.org/protocol/compress namespace. |
static class |
StreamCompression.Failure
The implementation of the
<failure/> element in the http://jabber.org/protocol/compress namespace, which indicates failure during compression negotiation. |
Modifier and Type | Class and Description |
---|---|
class |
ClientState
Represents a client state, i.e. active or inactive.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<java.lang.Void> |
BoshConnection.send(StreamElement element) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
BoshConnection.write(StreamElement streamElement) |
Modifier and Type | Class and Description |
---|---|
class |
Body
The implementation of the
<body/> element in the http://jabber.org/protocol/httpbind namespace. |
Modifier and Type | Class and Description |
---|---|
static class |
StreamManagement.Answer
The implementation of the
<a/> element in the urn:xmpp:sm:3 namespace. |
static class |
StreamManagement.Enable
The implementation of the
<enable/> element in the urn:xmpp:sm:3 namespace. |
static class |
StreamManagement.Enabled
The implementation of the
<enabled/> element in the urn:xmpp:sm:3 namespace. |
static class |
StreamManagement.Failed
The implementation of the
<failed/> element in the urn:xmpp:sm:3 namespace. |
static class |
StreamManagement.Request
The implementation of the
<r/> element in the urn:xmpp:sm:3 namespace. |
static class |
StreamManagement.Resume
The implementation of the
<resume/> element in the urn:xmpp:sm:3 namespace. |
static class |
StreamManagement.Resumed
The implementation of the
<resumed/> element in the urn:xmpp:sm:3 namespace. |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
XmppStreamEncoder.encode(StreamElement streamElement)
Encodes an XMPP element to a byte buffer.
|
void |
XmppStreamEncoder.encode(StreamElement streamElement,
java.io.OutputStream outputStream)
Encodes an XMPP element to an
OutputStream . |
Modifier and Type | Method and Description |
---|---|
void |
XmppStreamDecoder.decode(java.nio.ByteBuffer in,
java.util.function.BiConsumer<java.lang.String,StreamElement> out)
Decodes a stream of byte buffers to XMPP elements.
|
Constructor and Description |
---|
XmppStreamEncoder(javax.xml.stream.XMLOutputFactory outputFactory,
java.util.function.Supplier<javax.xml.bind.Marshaller> marshaller,
java.util.function.Function<StreamElement,StreamElement> stanzaMapper)
Creates the XMPP encoder.
|
XmppStreamEncoder(javax.xml.stream.XMLOutputFactory outputFactory,
java.util.function.Supplier<javax.xml.bind.Marshaller> marshaller,
java.util.function.Function<StreamElement,StreamElement> stanzaMapper)
Creates the XMPP encoder.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletionStage<java.lang.Void> |
NettyChannelConnection.send(StreamElement streamElement) |
java.util.concurrent.CompletionStage<java.lang.Void> |
NettyChannelConnection.write(StreamElement streamElement) |
Constructor and Description |
---|
NettyChannelConnection(io.netty.channel.Channel channel,
StreamHandler streamHandler,
java.util.function.BiConsumer<java.lang.String,StreamElement> onRead,
java.util.function.Supplier<javax.xml.bind.Unmarshaller> unmarshallerSupplier,
java.util.function.BiConsumer<java.lang.String,StreamElement> onWrite,
java.util.function.Supplier<javax.xml.bind.Marshaller> marshallerSupplier,
java.util.function.Consumer<java.lang.Throwable> onException,
ConnectionConfiguration connectionConfiguration) |
NettyChannelConnection(io.netty.channel.Channel channel,
StreamHandler streamHandler,
java.util.function.BiConsumer<java.lang.String,StreamElement> onRead,
java.util.function.Supplier<javax.xml.bind.Unmarshaller> unmarshallerSupplier,
java.util.function.BiConsumer<java.lang.String,StreamElement> onWrite,
java.util.function.Supplier<javax.xml.bind.Marshaller> marshallerSupplier,
java.util.function.Consumer<java.lang.Throwable> onException,
ConnectionConfiguration connectionConfiguration) |
Modifier and Type | Method and Description |
---|---|
StreamElement |
XmppWebSocketDecoder.decode(java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
XmppWebSocketEncoder.encode(StreamElement object) |
Modifier and Type | Class and Description |
---|---|
class |
Close
The implementation of the
<close/> element in the urn:ietf:params:xml:ns:xmpp-framing namespace. |
class |
Open
The implementation of the
<open/> element in the urn:ietf:params:xml:ns:xmpp-framing namespace. |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<java.lang.Void> |
WebSocketConnection.send(StreamElement streamElement) |
java.util.concurrent.CompletableFuture<java.lang.Void> |
WebSocketConnection.write(StreamElement streamElement) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<java.lang.Void> |
WebSocketClientConnection.send(StreamElement streamElement) |
Copyright © 2014–2019 XMPP.rocks. All rights reserved.