protected class XMPPTCPConnection.PacketWriter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
QUEUE_SIZE |
protected java.lang.Long |
shutdownTimestamp
If set, the stanza writer is shut down
|
static int |
UNACKKNOWLEDGED_STANZAS_QUEUE_SIZE |
static int |
UNACKKNOWLEDGED_STANZAS_QUEUE_SIZE_HIGH_WATER_MARK |
| Modifier | Constructor and Description |
|---|---|
protected |
PacketWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
sendStreamElement(org.jivesoftware.smack.packet.Element element)
Sends the specified element to the server.
|
protected void |
throwNotConnectedExceptionIfDoneAndResumptionNotPossible() |
public static final int QUEUE_SIZE
public static final int UNACKKNOWLEDGED_STANZAS_QUEUE_SIZE
public static final int UNACKKNOWLEDGED_STANZAS_QUEUE_SIZE_HIGH_WATER_MARK
protected volatile java.lang.Long shutdownTimestamp
protected void throwNotConnectedExceptionIfDoneAndResumptionNotPossible()
throws org.jivesoftware.smack.SmackException.NotConnectedException
org.jivesoftware.smack.SmackException.NotConnectedExceptionprotected void sendStreamElement(org.jivesoftware.smack.packet.Element element)
throws org.jivesoftware.smack.SmackException.NotConnectedException,
java.lang.InterruptedException
element - the element to send.org.jivesoftware.smack.SmackException.NotConnectedException - if the XMPP connection is not connected.java.lang.InterruptedException - if the calling thread was interrupted.