public interface PacketWriter
| Modifier and Type | Method and Description |
|---|---|
void |
write(Element stanza)
Write a element to Stream.
|
void |
write(Element stanza,
AsyncCallback asyncCallback)
Write a (IQ) stanza element to Stream and register callback with default
timeout.
|
void |
write(Element stanza,
Long timeout,
AsyncCallback asyncCallback)
Write a (IQ) stanza element to Stream and register callback with given
timeout.
|
void write(Element stanza) throws JaxmppException
stanza - Element to writeJaxmppExceptionvoid write(Element stanza, AsyncCallback asyncCallback) throws JaxmppException
stanza - Element to writeasyncCallback - AsyncCallback to registerJaxmppExceptionvoid write(Element stanza, Long timeout, AsyncCallback asyncCallback) throws JaxmppException
stanza - stanza Element to writetimeout - time after which will be execute AsyncCallback.onTimeout()asyncCallback - asyncCallback AsyncCallback to registerJaxmppExceptionCopyright © 2006–2020 Tigase. All rights reserved.