1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-16 17:22:06 +01:00
Commit graph

97 commits

Author SHA1 Message Date
Gaston Dombiak
3157a29d28 Public API for parsing Messages and Presences. SMACK-47
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2462 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-23 03:32:10 +00:00
Gaston Dombiak
3fe4678384 Modified to assume an error code of -1 if the received error does not include a code. SMACK-44
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2454 b35dd754-fafc-0310-a699-88a17e54d16e
2005-02-03 01:03:10 +00:00
Matt Tucker
fdb4b017ff Updated to Apache 2.0 license.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2408 b35dd754-fafc-0310-a699-88a17e54d16e
2004-11-02 23:53:30 +00:00
Gaston Dombiak
cd8f9f5682 Allows to remove a connection listener while notifying that the connection is being closed. SMACK-162
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2386 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-24 20:40:51 +00:00
Gaston Dombiak
5ab0c1b7e7 Replaces a hardcoded value in #startup with one provided by SmackConfiguration.getPacketReplyTimeout. SMACK-156
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2383 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-24 02:11:49 +00:00
Gaston Dombiak
f103a16a07 Allows registration entries with blank values. SMACK-151
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2381 b35dd754-fafc-0310-a699-88a17e54d16e
2004-09-16 14:42:23 +00:00
Gaston Dombiak
287c54a6ac Changes the way the properties are parsed.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2346 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-17 17:50:18 +00:00
Gaston Dombiak
1d169dff08 Fixes error parsing properties. SMACK-138
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2341 b35dd754-fafc-0310-a699-88a17e54d16e
2004-07-13 19:15:06 +00:00
Gaston Dombiak
2bb363b898 Skips CRs while parsing packet properties. SMACK-138
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2321 b35dd754-fafc-0310-a699-88a17e54d16e
2004-06-03 16:18:30 +00:00
Gaston Dombiak
476d694eaf 1. Allows Registration packets to include extensions (DataForms)
2. Some parse methods were factored out to PacketParserUtils


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2264 b35dd754-fafc-0310-a699-88a17e54d16e
2004-03-29 21:37:24 +00:00
Gaston Dombiak
0b26452666 1. The packet id is parsed while parsing Messages
2. Parsed Messages and Presences could now have EMPTY ids


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2224 b35dd754-fafc-0310-a699-88a17e54d16e
2004-02-10 15:39:36 +00:00
Gaston Dombiak
5168a66d71 Answers a "not implemented" error when the IQ is not understood
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2220 b35dd754-fafc-0310-a699-88a17e54d16e
2004-01-29 22:02:50 +00:00
Gaston Dombiak
870eb08da3 Removes the track of the number of packets read.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2165 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-12 17:49:07 +00:00
Gaston Dombiak
d9aa18a34c Fixes an error while parsing an error message with another format
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2160 b35dd754-fafc-0310-a699-88a17e54d16e
2003-11-05 16:47:32 +00:00
Matt Tucker
88eb8090e6 Keeps track of the number of packets read.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2152 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-21 17:39:04 +00:00
Matt Tucker
fbaf772bc8 Use host value from server (SMACK-94).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2128 b35dd754-fafc-0310-a699-88a17e54d16e
2003-10-03 00:47:45 +00:00
Matt Tucker
104e47cb3e Fixed registration packet parsing (SMACK-88)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2109 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-27 17:27:40 +00:00
Matt Tucker
d843cc9a77 Packet writer errors will now notify listeners of errors (SMACK-85)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2092 b35dd754-fafc-0310-a699-88a17e54d16e
2003-09-18 22:35:42 +00:00
Matt Tucker
334cfd8c3a Fix connection closing notifications on error.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2050 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-20 16:29:46 +00:00
Matt Tucker
8ed06a4f06 Cleanup of IQ parsing.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2008 b35dd754-fafc-0310-a699-88a17e54d16e
2003-08-04 21:58:31 +00:00
Matt Tucker
e256a1d149 Better connection closing notification logic.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1987 b35dd754-fafc-0310-a699-88a17e54d16e
2003-07-16 02:49:43 +00:00
Matt Tucker
b25380282c Added ConnectionListener support.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1983 b35dd754-fafc-0310-a699-88a17e54d16e
2003-07-09 16:05:43 +00:00
Matt Tucker
ed14b2a204 Fixes for default packet extension parsing.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1982 b35dd754-fafc-0310-a699-88a17e54d16e
2003-07-03 22:14:31 +00:00
Matt Tucker
302f9a4778 Code cleanup.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1965 b35dd754-fafc-0310-a699-88a17e54d16e
2003-06-17 20:22:43 +00:00
Matt Tucker
1a65442954 Use class name to create factory.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1955 b35dd754-fafc-0310-a699-88a17e54d16e
2003-06-06 15:07:55 +00:00
Matt Tucker
a608313589 Better parser init.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1954 b35dd754-fafc-0310-a699-88a17e54d16e
2003-05-28 18:15:33 +00:00
Matt Tucker
1fce8b422b Fixed packet extension parsing. Optimized IQ parsing.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1929 b35dd754-fafc-0310-a699-88a17e54d16e
2003-05-08 16:17:48 +00:00
Matt Tucker
3ac4b1c121 Added packet extension support. Properties now use the <properties> element name.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1926 b35dd754-fafc-0310-a699-88a17e54d16e
2003-05-08 15:55:06 +00:00
Matt Tucker
f27c5b1272 Fixed spelling error.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1915 b35dd754-fafc-0310-a699-88a17e54d16e
2003-05-01 13:31:21 +00:00
Matt Tucker
3b738bef74 Support for pluggable IQ parsing.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1913 b35dd754-fafc-0310-a699-88a17e54d16e
2003-05-01 02:06:21 +00:00
Matt Tucker
6cea9b8bd3 Roster and presence packet reading fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1899 b35dd754-fafc-0310-a699-88a17e54d16e
2003-04-25 20:18:49 +00:00
Matt Tucker
bd4d3114d4 Fix for removing packet listeners.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1870 b35dd754-fafc-0310-a699-88a17e54d16e
2003-04-08 22:22:57 +00:00
Matt Tucker
68d489ef79 Fix from John for bad packet processing logic.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1869 b35dd754-fafc-0310-a699-88a17e54d16e
2003-04-08 21:22:09 +00:00
Matt Tucker
7e110a954f Refer to constants statically (from Nuno).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1868 b35dd754-fafc-0310-a699-88a17e54d16e
2003-04-08 15:32:26 +00:00
Matt Tucker
d77787f67c Fixed listener remove operation.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1866 b35dd754-fafc-0310-a699-88a17e54d16e
2003-04-07 05:39:44 +00:00
Matt Tucker
e5586093f0 Small javadoc fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1856 b35dd754-fafc-0310-a699-88a17e54d16e
2003-03-24 14:53:55 +00:00
Matt Tucker
7fa5b3608e Initial account manager functionality.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1846 b35dd754-fafc-0310-a699-88a17e54d16e
2003-03-08 23:09:48 +00:00
Matt Tucker
044e9cf71c Fixed parsing of packet properties, renamed error class.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1843 b35dd754-fafc-0310-a699-88a17e54d16e
2003-03-07 19:47:49 +00:00
Matt Tucker
b2127ce982 Initial roster support.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1835 b35dd754-fafc-0310-a699-88a17e54d16e
2003-02-10 05:01:01 +00:00
Matt Tucker
5a1f449f03 Cleaned up connection close operation.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1829 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-27 15:56:21 +00:00
Matt Tucker
1f325771ab Fixed license header.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1811 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-17 20:34:50 +00:00
Matt Tucker
1c40c3c348 Implemented listeners.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1806 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-17 18:26:14 +00:00
Matt Tucker
5e4d91c269 Packet reader and writer are now hidden.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1799 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-17 07:11:33 +00:00
Matt Tucker
642396a100 Use new presence types.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1794 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-16 15:41:57 +00:00
Matt Tucker
087d031b3d Support for reading properties.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1788 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-16 01:00:55 +00:00
Matt Tucker
13d4058170 Code cleanup, more IQ parsing support.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1782 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-15 15:01:30 +00:00
Matt Tucker
f3837581f8 Importing.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1777 b35dd754-fafc-0310-a699-88a17e54d16e
2003-01-13 16:58:47 +00:00