public final class Handshake extends java.lang.Object implements StreamElement
Constructor and Description |
---|
Handshake() |
Modifier and Type | Method and Description |
---|---|
static Handshake |
create(java.lang.String streamId,
java.lang.String sharedSecret)
Creates the handshake element from stream id and the shared secret.
|
java.lang.String |
getValue()
Gets the value of the handshake element.
|
public java.lang.String getValue()
Gets the value of the handshake element.
public static Handshake create(java.lang.String streamId, java.lang.String sharedSecret)
Creates the handshake element from stream id and the shared secret.
streamId
- The stream id.sharedSecret
- The shared secret.Copyright © 2014–2019 XMPP.rocks. All rights reserved.