Searched refs:packet (Results 51 - 75 of 1029) sorted by last modified time

1234567891011>>

/external/smack/src/org/jivesoftware/smack/
H A DChatManager.java34 import org.jivesoftware.smack.packet.Message;
35 import org.jivesoftware.smack.packet.Packet;
102 public boolean accept(Packet packet) {
103 if (!(packet instanceof Message)) {
106 Message.Type messageType = ((Message) packet).getType();
114 public void processPacket(Packet packet) {
115 Message message = (Message) packet;
H A DConnection.java43 import org.jivesoftware.smack.packet.Packet;
44 import org.jivesoftware.smack.packet.Presence;
146 * List of PacketListeners that will be notified when a new packet was received.
152 * List of PacketListeners that will be notified when a new packet was sent.
158 * List of PacketInterceptors that will be notified when a new packet is about to be
159 * sent to the server. These interceptors may modify the packet before it is being
415 * Sends the specified packet to the server.
417 * @param packet the packet to send.
419 public abstract void sendPacket(Packet packet); argument
689 firePacketSendingListeners(Packet packet) argument
743 firePacketInterceptors(Packet packet) argument
869 notifyListener(Packet packet) argument
914 notifyListener(Packet packet) argument
[all...]
H A DConnection.java.orig43 import org.jivesoftware.smack.packet.Packet;
44 import org.jivesoftware.smack.packet.Presence;
146 * List of PacketListeners that will be notified when a new packet was received.
152 * List of PacketListeners that will be notified when a new packet was sent.
158 * List of PacketInterceptors that will be notified when a new packet is about to be
159 * sent to the server. These interceptors may modify the packet before it is being
415 * Sends the specified packet to the server.
417 * @param packet the packet to send.
419 public abstract void sendPacket(Packet packet);
[all...]
H A DMessageListener.java23 import org.jivesoftware.smack.packet.Message;
H A DNonSASLAuthentication.java24 import org.jivesoftware.smack.packet.Authentication;
25 import org.jivesoftware.smack.packet.IQ;
60 // If we send an authentication packet in "get" mode with just the username,
68 // Send the packet
83 // Now, create the authentication packet we'll send to the server.
101 // Send the packet.
118 // Create the authentication packet we'll send to the server.
123 // Send the packet.
H A DPacketCollector.java27 import org.jivesoftware.smack.packet.Packet;
36 * Each packet collector will queue up a configured number of packets for processing before
51 * Creates a new packet collector. If the packet filter is <tt>null</tt>, then
62 * Creates a new packet collector. If the packet filter is <tt>null</tt>, then
76 * Explicitly cancels the packet collector so that no more results are
77 * queued up. Once a packet collector has been cancelled, it cannot be
78 * re-enabled. Instead, a new packet collector must be created.
81 // If the packet collecto
148 processPacket(Packet packet) argument
[all...]
H A DPacketInterceptor.java22 import org.jivesoftware.smack.packet.Packet;
30 * This allows event-style programming -- every time a new packet is found,
39 * Process the packet that is about to be sent to the server. The intercepted
40 * packet can be modified by the interceptor.<p>
42 * Interceptors are invoked using the same thread that requested the packet
46 * @param packet the packet to is going to be sent to the server.
48 public void interceptPacket(Packet packet); argument
H A DPacketListener.java23 import org.jivesoftware.smack.packet.Packet;
27 * This allows event-style programming -- every time a new packet is found,
38 * Process the next packet sent to this packet listener.<p>
44 * @param packet the packet to process.
46 public void processPacket(Packet packet); argument
H A DPacketReader.java24 import org.jivesoftware.smack.packet.*;
37 * Listens for XML traffic from the XMPP server and parses it into packet objects.
38 * The packet reader also invokes all packet listeners and collectors.<p>
92 * Starts the packet reader thread and returns once a connection to the server
123 * Shuts the packet reader down.
146 * Cleans up all resources used by the packet reader.
189 // the connectionID lock so that the packet reader startup can finish.
307 * Processes a packet after it's been fully parsed by looping through the installed
308 * packet collector
313 processPacket(Packet packet) argument
417 private Packet packet; field in class:PacketReader.ListenerNotification
419 ListenerNotification(Packet packet) argument
[all...]
H A DPacketWriter.java23 import org.jivesoftware.smack.packet.Packet;
50 * Creates a new packet writer with the specified connection.
78 * Sends the specified packet to the server.
80 * @param packet the packet to send.
82 public void sendPacket(Packet packet) { argument
84 // Invoke interceptors for the new packet that is about to be sent. Interceptors
85 // may modify the content of the packet.
86 connection.firePacketInterceptors(packet);
89 queue.put(packet);
[all...]
H A DPrivacyList.java20 import org.jivesoftware.smack.packet.PrivacyItem;
28 * <li>Handle many {@link org.jivesoftware.smack.packet.PrivacyItem}.</li>
H A DPrivacyListListener.java22 import org.jivesoftware.smack.packet.PrivacyItem;
H A DPrivacyListManager.java23 import org.jivesoftware.smack.packet.IQ;
24 import org.jivesoftware.smack.packet.Packet;
25 import org.jivesoftware.smack.packet.Privacy;
26 import org.jivesoftware.smack.packet.PrivacyItem;
84 * Initializes the packet listeners of the connection that will notify for any set privacy
116 public void processPacket(Packet packet) {
118 if (packet == null || packet.getError() != null) {
121 // The packet is correct.
122 Privacy privacy = (Privacy) packet;
[all...]
H A DReconnectionManager.java20 import org.jivesoftware.smack.packet.StreamError;
H A DRoster.java26 import org.jivesoftware.smack.packet.IQ;
27 import org.jivesoftware.smack.packet.Packet;
28 import org.jivesoftware.smack.packet.Presence;
29 import org.jivesoftware.smack.packet.RosterPacket;
65 // The roster is marked as initialized when at least a single roster packet
165 * {@link org.jivesoftware.smack.packet.Presence.Type#subscribe}.
180 * {@link org.jivesoftware.smack.packet.Presence.Type#subscribe}.
203 RosterPacket packet = new RosterPacket();
205 packet.setVersion(persistentStorage.getRosterVersion());
207 requestPacketId = packet
841 processPacket(Packet packet) argument
960 processPacket(Packet packet) argument
988 processPacket(Packet packet) argument
[all...]
H A DRosterEntry.java23 import org.jivesoftware.smack.packet.IQ;
24 import org.jivesoftware.smack.packet.RosterPacket;
91 RosterPacket packet = new RosterPacket();
92 packet.setType(IQ.Type.SET);
93 packet.addRosterItem(toRosterItem(this));
94 connection.sendPacket(packet);
H A DRosterGroup.java24 import org.jivesoftware.smack.packet.IQ;
25 import org.jivesoftware.smack.packet.RosterPacket;
77 RosterPacket packet = new RosterPacket();
78 packet.setType(IQ.Type.SET);
82 packet.addRosterItem(item);
83 connection.sendPacket(packet);
171 RosterPacket packet = new RosterPacket();
172 packet.setType(IQ.Type.SET);
175 packet.addRosterItem(item);
178 .createPacketCollector(new PacketIDFilter(packet
[all...]
H A DRosterListener.java23 import org.jivesoftware.smack.packet.Presence;
H A DRosterStorage.java5 import org.jivesoftware.smack.packet.RosterPacket;
H A DSASLAuthentication.java24 import org.jivesoftware.smack.packet.Bind;
25 import org.jivesoftware.smack.packet.IQ;
26 import org.jivesoftware.smack.packet.Packet;
27 import org.jivesoftware.smack.packet.Session;
446 // Send the packet
463 // Send the packet
568 * sessions the client needs to send a Session packet after successfully binding a resource
H A DSASLAuthentication.java.orig24 import org.jivesoftware.smack.packet.Bind;
25 import org.jivesoftware.smack.packet.IQ;
26 import org.jivesoftware.smack.packet.Packet;
27 import org.jivesoftware.smack.packet.Session;
446 // Send the packet
463 // Send the packet
568 * sessions the client needs to send a Session packet after successfully binding a resource
H A DXMPPConnection.java25 import org.jivesoftware.smack.packet.Packet;
26 import org.jivesoftware.smack.packet.Presence;
27 import org.jivesoftware.smack.packet.XMPPError;
103 * Set to true by packet writer if the server acknowledged the compression
399 * packet reader, packet writer, and {@link Roster} will not be removed; thus
402 * @param unavailablePresence the presence packet to send during shutdown.
500 public void sendPacket(Packet packet) { argument
504 if (packet == null) {
507 packetWriter.sendPacket(packet);
[all...]
H A DXMPPException.java23 import org.jivesoftware.smack.packet.StreamError;
24 import org.jivesoftware.smack.packet.XMPPError;
/external/smack/src/org/jivesoftware/smack/debugger/
H A DConsoleDebugger.java23 import org.jivesoftware.smack.packet.Packet;
92 // Assign the reader/writer objects to use the debug versions. The packet reader
98 // the GUI. This is what we call "interpreted" packet data, since it's the packet
101 public void processPacket(Packet packet) {
107 packet.toXML());
/external/smack/src/org/jivesoftware/smack/filter/
H A DAndFilter.java23 import org.jivesoftware.smack.packet.Packet;
29 * Implements the logical AND operation over two or more packet filters.
67 * Adds a filter to the filter list for the AND operation. A packet
79 public boolean accept(Packet packet) { argument
81 if (!filter.accept(packet)) {

Completed in 848 milliseconds

1234567891011>>