protected class XMPPTCPConnection.PacketWriter extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
QUEUE_SIZE |
protected SynchronizationPoint<SmackException.NoResponseException> |
shutdownDone
Needs to be protected for unit testing purposes.
|
protected 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(Element element)
Sends the specified element to the server.
|
protected void |
throwNotConnectedExceptionIfDoneAndResumptionNotPossible() |
public static final int QUEUE_SIZE
protected SynchronizationPoint<SmackException.NoResponseException> shutdownDone
protected volatile Long shutdownTimestamp
protected PacketWriter()
protected void throwNotConnectedExceptionIfDoneAndResumptionNotPossible() throws SmackException.NotConnectedException
protected void sendStreamElement(Element element) throws SmackException.NotConnectedException
element - the element to send.SmackException.NotConnectedException