protected class XMPPTCPConnection.PacketWriter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
QUEUE_SIZE |
protected org.jivesoftware.smack.SynchronizationPoint<org.jivesoftware.smack.SmackException.NoResponseException> |
shutdownDone
Needs to be protected for unit testing purposes.
|
protected java.lang.Long |
shutdownTimestamp
If set, the stanza(/packet) writer is shut down
|
| 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
protected org.jivesoftware.smack.SynchronizationPoint<org.jivesoftware.smack.SmackException.NoResponseException> shutdownDone
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
element - the element to send.org.jivesoftware.smack.SmackException.NotConnectedException