public interface SessionOpen extends StreamElement
This interface describes the common attributes for opening a XMPP session.
It is shared by different connection methods: TCP socket, BOSH and WebSocket, which all have different ways to open a session (initial stream header for socket connection, session creation request for BOSH, open frame for WebSockets).
All session openings have the ‘from’, ‘to’, ‘xml:lang’ and an ‘id’ attribute in common.
Modifier and Type | Method and Description |
---|---|
Jid |
getFrom()
Gets the ‘from’ attribute.
|
java.lang.String |
getId()
Gets the ‘id’ attribute.
|
java.util.Locale |
getLanguage()
Gets the ‘xml:lang’ attribute.
|
Jid |
getTo()
Gets the ‘to’ attribute.
|
java.lang.String |
getVersion()
Gets the XMPP version.
|
Jid getFrom()
Gets the ‘from’ attribute.
Jid getTo()
Gets the ‘to’ attribute.
java.lang.String getId()
Gets the ‘id’ attribute.
java.util.Locale getLanguage()
Gets the ‘xml:lang’ attribute.
java.lang.String getVersion()
Gets the XMPP version.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.