/external/smack/src/org/jivesoftware/smack/packet/ |
H A D | StreamError.java | 20 package org.jivesoftware.smack.packet;
23 * Represents a stream error packet. Stream errors are unrecoverable errors where the server
|
H A D | XMPPError.java | 21 package org.jivesoftware.smack.packet; 26 * Represents a XMPP error sub-packet. Typically, a server responds to a request that has 27 * problems by sending the packet back and including an error packet. Each error has a code, type, 132 * @param extension list of packet extensions 255 * @param elementName the XML element name of the packet extension. 256 * @param namespace the XML element namespace of the packet extension. 272 * Adds a packet extension to the error. 274 * @param extension a packet extension. 284 * Set the packet extensio [all...] |
/external/smack/src/org/jivesoftware/smack/provider/ |
H A D | EmbeddedExtensionProvider.java | 22 import org.jivesoftware.smack.packet.PacketExtension;
|
H A D | IQProvider.java | 23 import org.jivesoftware.smack.packet.IQ;
|
H A D | PacketExtensionProvider.java | 23 import org.jivesoftware.smack.packet.PacketExtension; 36 * Parse an extension sub-packet and create a PacketExtension instance. At 38 * opening element of the packet extension. At the end of the method call, the 39 * parser <b>must</b> be positioned on the closing element of the packet extension.
|
H A D | PrivacyProvider.java | 20 import org.jivesoftware.smack.packet.DefaultPacketExtension;
21 import org.jivesoftware.smack.packet.IQ;
22 import org.jivesoftware.smack.packet.Privacy;
23 import org.jivesoftware.smack.packet.PrivacyItem;
32 * of {@link PrivacyItem} and {@link org.jivesoftware.smack.packet.PrivacyItem.PrivacyRule}.
|
H A D | ProviderManager.java | 23 import org.jivesoftware.smack.packet.IQ; 24 import org.jivesoftware.smack.packet.PacketExtension; 59 * <className>org.jivesoftware.smack.packet.Time</className> 69 * in the IQ packet XML. For example, an XMPP time packet resembles the following: 79 * In order for this packet to be automatically mapped to the Time object listed in the 85 * A pluggable system for packet extensions, child elements in a custom namespace for 95 * <className>org.jivesoftware.smack.packet.MessageEvent</className> 100 * the first entry loaded from the classpath will take precedence. Whenever a packet extension 101 * is found in a packet, parsin [all...] |
/external/smack/src/org/jivesoftware/smack/sasl/ |
H A D | SASLFacebookConnect.java | 17 import org.jivesoftware.smack.packet.Packet;
|
H A D | SASLMechanism.java | 25 import org.jivesoftware.smack.packet.Packet;
|
/external/smack/src/org/jivesoftware/smack/util/ |
H A D | PacketParserUtils.java | 33 import org.jivesoftware.smack.packet.Authentication; 34 import org.jivesoftware.smack.packet.Bind; 35 import org.jivesoftware.smack.packet.DefaultPacketExtension; 36 import org.jivesoftware.smack.packet.IQ; 37 import org.jivesoftware.smack.packet.Message; 38 import org.jivesoftware.smack.packet.Packet; 39 import org.jivesoftware.smack.packet.PacketExtension; 40 import org.jivesoftware.smack.packet.Presence; 41 import org.jivesoftware.smack.packet.Registration; 42 import org.jivesoftware.smack.packet [all...] |
H A D | PacketParserUtils.java.orig | 34 import org.jivesoftware.smack.packet.Authentication; 35 import org.jivesoftware.smack.packet.Bind; 36 import org.jivesoftware.smack.packet.DefaultPacketExtension; 37 import org.jivesoftware.smack.packet.IQ; 38 import org.jivesoftware.smack.packet.Message; 39 import org.jivesoftware.smack.packet.Packet; 40 import org.jivesoftware.smack.packet.PacketExtension; 41 import org.jivesoftware.smack.packet.Presence; 42 import org.jivesoftware.smack.packet.Registration; 43 import org.jivesoftware.smack.packet [all...] |
H A D | SyncPacketSend.java | 22 import org.jivesoftware.smack.packet.Packet;
26 * methods for sending a packet to the server and waiting for the reply.
35 static public Packet getReply(Connection connection, Packet packet, long timeout)
argument 38 PacketFilter responseFilter = new PacketIDFilter(packet.getPacketID());
41 connection.sendPacket(packet);
58 static public Packet getReply(Connection connection, Packet packet)
argument 61 return getReply(connection, packet, SmackConfiguration.getPacketReplyTimeout());
|
/external/smack/src/org/jivesoftware/smackx/ |
H A D | ChatStateManager.java | 28 import org.jivesoftware.smack.packet.Message; 29 import org.jivesoftware.smack.packet.Packet; 30 import org.jivesoftware.smack.packet.PacketExtension; 31 import org.jivesoftware.smackx.packet.ChatStateExtension; 38 * packet extensions and the disco response neccesary for compliance with 47 * @see org.jivesoftware.smackx.packet.ChatStateExtension 107 * packet with the state attached as a {@link org.jivesoftware.smack.packet.PacketExtension}, if 114 * packet. 164 public void interceptPacket(Packet packet) { argument [all...] |
H A D | ConfigureProviderManager.java | 28 import org.jivesoftware.smackx.packet.AttentionExtension; 29 import org.jivesoftware.smackx.packet.ChatStateExtension; 30 import org.jivesoftware.smackx.packet.LastActivity; 31 import org.jivesoftware.smackx.packet.Nick; 32 import org.jivesoftware.smackx.packet.OfflineMessageInfo; 33 import org.jivesoftware.smackx.packet.OfflineMessageRequest; 34 import org.jivesoftware.smackx.packet.SharedGroupsInfo; 87 pm.addIQProvider("query","jabber:iq:time", Class.forName("org.jivesoftware.smackx.packet.Time")); 89 System.err.println("Can't load class for org.jivesoftware.smackx.packet.Time"); 125 pm.addIQProvider("query","jabber:iq:version", Class.forName("org.jivesoftware.smackx.packet [all...] |
H A D | Form.java | 28 import org.jivesoftware.smack.packet.Packet; 29 import org.jivesoftware.smack.packet.PacketExtension; 30 import org.jivesoftware.smackx.packet.DataForm; 62 * Returns a new ReportedData if the packet is used for gathering data and includes an 65 * @param packet the packet used for gathering data. 66 * @return the data form parsed from the packet or <tt>null</tt> if there was not 67 * a form in the packet. 69 public static Form getFormFrom(Packet packet) { argument 70 // Check if the packet include [all...] |
H A D | Gateway.java | 17 import org.jivesoftware.smack.packet.IQ; 18 import org.jivesoftware.smack.packet.Packet; 19 import org.jivesoftware.smack.packet.Presence; 20 import org.jivesoftware.smack.packet.Registration; 22 import org.jivesoftware.smackx.packet.DiscoverInfo; 23 import org.jivesoftware.smackx.packet.DiscoverInfo.Identity; 81 Registration packet = new Registration(); 82 packet.setFrom(connection.getUser()); 83 packet.setType(IQ.Type.GET); 84 packet 317 processPacket(Packet packet) argument [all...] |
H A D | GatewayManager.java | 14 import org.jivesoftware.smackx.packet.DiscoverInfo; 15 import org.jivesoftware.smackx.packet.DiscoverItems; 16 import org.jivesoftware.smackx.packet.DiscoverInfo.Identity; 17 import org.jivesoftware.smackx.packet.DiscoverItems.Item;
|
H A D | GroupChatInvitation.java | 23 import org.jivesoftware.smack.packet.PacketExtension; 28 * A group chat invitation packet extension, which is used to invite other 46 * // Create a packet collector or packet listeners using the filter... 59 * Element name of the packet extension. 64 * Namespace of the packet extension.
|
H A D | LastActivityManager.java | 28 import org.jivesoftware.smack.packet.IQ;
29 import org.jivesoftware.smack.packet.Message;
30 import org.jivesoftware.smack.packet.Packet;
31 import org.jivesoftware.smack.packet.Presence;
32 import org.jivesoftware.smackx.packet.DiscoverInfo;
33 import org.jivesoftware.smackx.packet.LastActivity;
53 * the LastActivity packet to them, as in the following code:
69 * To get the uptime of a host, you simple send the LastActivity packet to it,
108 public void processPacket(Packet packet) {
109 Presence presence = (Presence) packet;
[all...] |
H A D | MessageEventManager.java | 33 import org.jivesoftware.smack.packet.Message; 34 import org.jivesoftware.smack.packet.Packet; 35 import org.jivesoftware.smackx.packet.MessageEvent; 203 public void processPacket(Packet packet) { 204 Message message = (Message) packet; 242 // Send the packet 260 // Send the packet 278 // Send the packet 296 // Send the packet
|
H A D | MultipleRecipientInfo.java | 23 import org.jivesoftware.smackx.packet.MultipleAddresses; 29 * in a received packet. Among the information we can find the list of TO and CC addresses. 42 * Returns the list of {@link org.jivesoftware.smackx.packet.MultipleAddresses.Address} 43 * that were the primary recipients of the packet. 45 * @return list of primary recipients of the packet. 52 * Returns the list of {@link org.jivesoftware.smackx.packet.MultipleAddresses.Address} 53 * that were the secondary recipients of the packet. 55 * @return list of secondary recipients of the packet. 76 * Returns true if the received packet should not be replied. Use 77 * {@link MultipleRecipientManager#reply(org.jivesoftware.smack.Connection, org.jivesoftware.smack.packet [all...] |
H A D | MultipleRecipientManager.java | 25 import org.jivesoftware.smack.packet.Message; 26 import org.jivesoftware.smack.packet.Packet; 29 import org.jivesoftware.smackx.packet.DiscoverInfo; 30 import org.jivesoftware.smackx.packet.DiscoverItems; 31 import org.jivesoftware.smackx.packet.MultipleAddresses; 53 * Sends the specified packet to the list of specified recipients using the 55 * packet is going to be sent to the server with the multiple recipient instructions. 57 * the packet to each recipient. 59 * @param connection the connection to use to send the packet. 60 * @param packet th 70 send(Connection connection, Packet packet, List<String> to, List<String> cc, List<String> bcc) argument 98 send(Connection connection, Packet packet, List<String> to, List<String> cc, List<String> bcc, String replyTo, String replyRoom, boolean noReply) argument 198 getMultipleRecipientInfo(Packet packet) argument 204 sendToIndividualRecipients(Connection connection, Packet packet, List<String> to, List<String> cc, List<String> bcc) argument 229 sendThroughService(Connection connection, Packet packet, List<String> to, List<String> cc, List<String> bcc, String replyTo, String replyRoom, boolean noReply, String serviceAddress) argument [all...] |
H A D | NodeInformationProvider.java | 23 import org.jivesoftware.smack.packet.PacketExtension; 24 import org.jivesoftware.smackx.packet.DiscoverInfo; 25 import org.jivesoftware.smackx.packet.DiscoverItems; 42 * Returns a list of the Items {@link org.jivesoftware.smackx.packet.DiscoverItems.Item} 70 * Returns a list of the packet extensions defined in the node. 72 * @return a list of the packet extensions defined in the node.
|
H A D | OfflineMessageHeader.java | 23 import org.jivesoftware.smackx.packet.DiscoverItems;
|
H A D | OfflineMessageManager.java | 28 import org.jivesoftware.smack.packet.IQ; 29 import org.jivesoftware.smack.packet.Message; 30 import org.jivesoftware.smack.packet.Packet; 31 import org.jivesoftware.smackx.packet.DiscoverInfo; 32 import org.jivesoftware.smackx.packet.DiscoverItems; 33 import org.jivesoftware.smackx.packet.OfflineMessageInfo; 34 import org.jivesoftware.smackx.packet.OfflineMessageRequest; 148 public boolean accept(Packet packet) { 149 OfflineMessageInfo info = (OfflineMessageInfo) packet.getExtension("offline",
|