313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
|
* \param element The element to send
*/
- (void)sendStanza: (OFXMLElement*)element;
/**
* \brief Sends an XMPPIQ, registering a callback method.
*
* \param object The object that contains the callback method
* \param selector The selector of the callback method,
* must take exactly one parameter of type XMPPIQ*
*/
- (void)sendIQ: (XMPPIQ*)iq
callbackTarget: (id)target
selector: (SEL)selector;
#ifdef OF_HAVE_BLOCKS
/**
* \brief Sends an XMPPIQ, registering a callback block.
*
* \param callback The callback block
*/
- (void)sendIQ: (XMPPIQ*)iq
callbackBlock: (xmpp_callback_block_t)block;
#endif
/**
* \brief Generates a new, unique stanza ID.
|
|
|
|
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
|
* \param element The element to send
*/
- (void)sendStanza: (OFXMLElement*)element;
/**
* \brief Sends an XMPPIQ, registering a callback method.
*
* \param target The object that contains the callback method
* \param selector The selector of the callback method,
* must take exactly one parameter of type XMPPIQ*
*/
- (void)sendIQ: (XMPPIQ*)iq
callbackTarget: (id)target
selector: (SEL)selector;
#ifdef OF_HAVE_BLOCKS
/**
* \brief Sends an XMPPIQ, registering a callback block.
*
* \param block The callback block
*/
- (void)sendIQ: (XMPPIQ*)iq
callbackBlock: (xmpp_callback_block_t)block;
#endif
/**
* \brief Generates a new, unique stanza ID.
|