rcollier
3a4b05ac00
SMACK-412 Abstracted the keepalive implementation and set the thread to start and stop on demand.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13610 b35dd754-fafc-0310-a699-88a17e54d16e
2013-04-16 01:39:17 +00:00
rcollier
998245be26
SMACK-412 Fixed merge error.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13591 b35dd754-fafc-0310-a699-88a17e54d16e
2013-03-23 22:23:19 +00:00
rcollier
aab1dcdabe
SMACK-412 Split the ping implementation to a server ping to replace keepalive and a simplified ping manager for manual pings of other entities.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13569 b35dd754-fafc-0310-a699-88a17e54d16e
2013-03-19 02:37:36 +00:00
Florian Schmaus
2eb13f48d2
SMACK-225 Fixed DNS SRV handling, as per RFC 2782. Added support for multiple DNS SRV resolvers namely javax and org.xbill.dns (aka dnsjava).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13561 b35dd754-fafc-0310-a699-88a17e54d16e
2013-03-18 08:53:11 +00:00
Florian Schmaus
21be8c55ee
SMACK-361 Added support for Entity Capabilities.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13560 b35dd754-fafc-0310-a699-88a17e54d16e
2013-03-18 08:50:48 +00:00
Florian Schmaus
5c6f257027
SMACK-388
...
Use ScheduledExecutorService.
Set ping received when pinging another entity.
Refactored PacketListener and ConnectionListeners as anonymous inner-classes
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13531 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-27 22:49:04 +00:00
Florian Schmaus
bfefbdb777
Implement XEP-0184 delivery notifications
...
This patch provides three components required to implement XEP-0184:
* DeliveryReceiptRequest is a PacketExtension to request a receipt
* DeliveryReceipt is a PacketExtension that contains the receipt
* DeliveryReceiptManager to handle sending/receiving of requests and
receipts.
Implementation:
For requesting a receipt, just add a new DeliveryReceiptRequest() to
your message or use the helper function:
DeliveryReceiptManager.addDeliveryReceiptRequest(packet);
Register a ReceiptReceivedListener to find out if your packet arrived:
DeliveryReceiptManager.getInstanceFor(myConnection)
.registerReceiptReceivedListener(new ReceiptReceivedListener() {
@Override public void onReceiptReceived(String fromJid,
String toJid, String receiptId) {
// receipt received for packet id receiptId
}
To answer a receipt request, you can either check incoming packets
manually:
if (DeliveryReceiptManager.hasDeliveryReceiptRequest(packet)) {
// send receipt
}
Or you can enable automatic receipt transmission with:
DeliveryReceiptManager.getInstanceFor(myConnection)
.setAutoReceiptsEnabled(true);
Signed-Off-By: Georg Lukas <georg@op-co.de>
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13431 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-04 09:53:56 +00:00
Florian Schmaus
d8f11a0b71
SMACK-388 register PingProvider with smack.providers. The static register code was removed with 13406 ( http://fisheye.igniterealtime.org/changelog/smack?cs=13406 )
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13413 b35dd754-fafc-0310-a699-88a17e54d16e
2013-01-28 09:57:09 +00:00
Florian Schmaus
7fa65f74ed
SMACK-403 Correct location of the Forwarded Provider
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13412 b35dd754-fafc-0310-a699-88a17e54d16e
2013-01-28 09:49:13 +00:00
Florian Schmaus
2a1f4e8376
SMACK-403 add support for
...
XEP-0297 Stanza Forwarding and XEP-0280 Message Carbons
and
XEP-0297: Stanza Forwarding implementation
This patch adds Forwarded.java, a class to wrap messages forwarded
from a different entity. A forwarded stanza contains of a Packet and
an optional timestamp.
WARNING: The current implementation only allows to forward Message
packets, as there is no universal way to parse a Packet from SMACK.
XEP-0280 Message Carbons implementation
This patch adds Carbon.java, a class to wrap the packet extension
defined in XEP-0280 to store copies of messages sent to or received
by a user to his other client(s).
The CarbonManager allows to register XEP-0280 support with the SDM,
to enable and disable the feature and to manipulate messages
accordingly.
Signed-Off-By: Georg Lukas <georg@op-co.de>
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13411 b35dd754-fafc-0310-a699-88a17e54d16e
2013-01-28 09:38:02 +00:00
Florian Schmaus
4018fa3c7b
SMACK-388 Moved PingProvider, Ping and Pong under ../smackx/ping package
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13394 b35dd754-fafc-0310-a699-88a17e54d16e
2013-01-15 19:56:25 +00:00
Florian Schmaus
8c14f0cb55
Added XEP-199 aka. "XMPP Ping" support to smack. Fixes SMACK-388.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13384 b35dd754-fafc-0310-a699-88a17e54d16e
2013-01-04 11:43:35 +00:00
rcollier
da5434505b
SMACK-129 - Added a property in smack-config file for the default packet collector size and set it much lower than the previous default. Also made the max size for packet collectors configurable from the constructor.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_2_0@12509 b35dd754-fafc-0310-a699-88a17e54d16e
2011-06-18 18:18:03 +00:00
Henning Staib
8b54f34153
merged branch improve_bytestreams in trunk
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11821 b35dd754-fafc-0310-a699-88a17e54d16e
2010-08-15 11:57:11 +00:00
guus
bcc1c55894
Adding support for XEP-0224: Attention (SMACK-296)
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11655 b35dd754-fafc-0310-a699-88a17e54d16e
2010-02-25 08:09:12 +00:00
guus
a86f45a4e6
Adds packetextension for nicknames (SMACK-285)
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11454 b35dd754-fafc-0310-a699-88a17e54d16e
2009-12-09 19:59:52 +00:00
rcollier
8dd8ec02a5
SMACK-272 Add support for XEP-0060 (pubsub)
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11350 b35dd754-fafc-0310-a699-88a17e54d16e
2009-10-28 22:54:49 +00:00
rcollier
f7a1c750ad
SMACK-272 Add support for XEP-0060 (pubsub)
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11346 b35dd754-fafc-0310-a699-88a17e54d16e
2009-10-28 22:38:40 +00:00
Michael Will
a1e791172c
disable the missing org.jivesoftware.smackx.workgroup.site package
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11331 b35dd754-fafc-0310-a699-88a17e54d16e
2009-10-26 15:04:18 +00:00
Michael Will
f943d27a3b
SMACK-266 - Add provider for fastpath to smackx
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11022 b35dd754-fafc-0310-a699-88a17e54d16e
2009-06-04 08:48:06 +00:00
Gaston Dombiak
8d07e07379
Initial implementation of ad-hoc commands. SMACK-242
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10453 b35dd754-fafc-0310-a699-88a17e54d16e
2008-05-28 18:59:52 +00:00
Gaston Dombiak
0b4006d394
Fixed way an inner class is being referenced.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6304 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-05 00:11:44 +00:00
Alex Wenckus
5658fb705a
Code complete chat state manager
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6283 b35dd754-fafc-0310-a699-88a17e54d16e
2006-12-01 18:42:33 +00:00
Alex Wenckus
3269d65591
Initial work on ChatState.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6215 b35dd754-fafc-0310-a699-88a17e54d16e
2006-11-23 01:51:00 +00:00
Gaston Dombiak
3af86fd462
Added reconnection support. SMACK-172
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5367 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-14 19:16:40 +00:00
Gaston Dombiak
cd0370ac14
Added LastActivityManager. SMACK-94
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5221 b35dd754-fafc-0310-a699-88a17e54d16e
2006-09-04 22:04:15 +00:00
Matt Tucker
47abf627b7
Added privacy list support and improved error handling from Francisco (SMACK-121, SMACK-31).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4603 b35dd754-fafc-0310-a699-88a17e54d16e
2006-07-19 19:24:00 +00:00
Gaston Dombiak
5247fce7ca
Moved resource binding parsing as a core IQ packet. SMACK-124
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3492 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-27 18:17:27 +00:00
Alex Wenckus
8d0db1a339
File Transfer. (SMACK-72) (SMACK-122)
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3395 b35dd754-fafc-0310-a699-88a17e54d16e
2006-02-03 18:44:22 +00:00
Gaston Dombiak
5e8ee57446
Added MultipleAddressesProvider. SMACK-117
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3346 b35dd754-fafc-0310-a699-88a17e54d16e
2006-01-23 20:10:15 +00:00
Gaston Dombiak
bcae58878d
Added SharedGroupInfo provider. SMACK-96
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2984 b35dd754-fafc-0310-a699-88a17e54d16e
2005-10-19 00:47:38 +00:00
Derek DeMoro
23bc043dc1
Adding multiple IQ for JEP 55 handling.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2830 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-16 23:04:30 +00:00
Derek DeMoro
c9c06bff78
Adding initial support for UserSearch(JEP-055).
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2828 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-16 16:35:15 +00:00
Derek DeMoro
44d3b0a08b
Added Last Activity Support(JEP-012) to allow for retrieval of idle times.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2820 b35dd754-fafc-0310-a699-88a17e54d16e
2005-09-14 14:31:39 +00:00
Gaston Dombiak
335d2dd698
Added resource binding support. SMACK-77
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2723 b35dd754-fafc-0310-a699-88a17e54d16e
2005-08-27 00:00:58 +00:00
Gaston Dombiak
13b74c172e
Added iqProvider and extensionProvider for flexible offline message retrieval. SMACK-25
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2513 b35dd754-fafc-0310-a699-88a17e54d16e
2005-07-26 04:58:28 +00:00
Gaston Dombiak
ee4ef91fec
Added vCard provider. SMACK-58
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2509 b35dd754-fafc-0310-a699-88a17e54d16e
2005-07-19 22:58:41 +00:00
Gaston Dombiak
ea53ae6622
Added support for iq:version. SMACK-53
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2488 b35dd754-fafc-0310-a699-88a17e54d16e
2005-04-22 04:24:55 +00:00
Matt Tucker
1d42589443
Removed workgroup entries.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2460 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-13 21:38:59 +00:00
Gaston Dombiak
b6e862c0ee
Added support for Delayed Delivery. SMACK-41
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2451 b35dd754-fafc-0310-a699-88a17e54d16e
2005-01-28 23:00:17 +00:00
Gaston Dombiak
81f4029d75
Changes package names of LA provider classes
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2377 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-10 21:39:26 +00:00
Matt Tucker
2aaccd0dec
Added workgroup entries.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2368 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-16 00:56:42 +00:00
Gaston Dombiak
c2d2ab4a42
Removed identityName and identityType.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2360 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-09 22:10:01 +00:00
Gaston Dombiak
e45c4a6805
Adds ability to set the identity name and type of a Smack client. SMACK-149
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2347 b35dd754-fafc-0310-a699-88a17e54d16e
2004-08-04 19:52:11 +00:00
Gaston Dombiak
b42201284f
Fixes package name of MUC.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2336 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-06 13:42:37 +00:00
Gaston Dombiak
c1e253dc18
Adds MultiUserChat class to the list of classes to load at start up
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2302 b35dd754-fafc-0310-a699-88a17e54d16e
2004-05-03 00:36:11 +00:00
Gaston Dombiak
07c6a12f97
Fixes bad tag names
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2295 b35dd754-fafc-0310-a699-88a17e54d16e
2004-04-18 14:25:39 +00:00
Gaston Dombiak
6596515785
Adds providers for DataForms and MUC
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2259 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-29 21:27:16 +00:00
Matt Tucker
f3932b1075
Updates.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2251 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-15 18:57:06 +00:00
Gaston Dombiak
d6edb93227
smack.configuration was replaced by this file.
...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2193 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-01 23:29:29 +00:00