/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
H A D | PacketListener.java | 11 void read(String packet); argument 13 void write(String packet); argument
|
/external/smack/src/org/jivesoftware/smack/ |
H A D | PacketInterceptor.java | 22 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 D | PacketListener.java | 23 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 D | MessageListener.java | 23 import org.jivesoftware.smack.packet.Message;
|
/external/smack/src/org/jivesoftware/smack/filter/ |
H A D | PacketFilter.java | 23 import org.jivesoftware.smack.packet.Packet; 27 * used when constructing packet listeners or collectors -- the filter defines 29 * packet processing.<p> 32 * for more complex packet filtering by using the 39 * // Use an anonymous inner class to define a packet filter that returns 40 * // all packets that have a packet ID of "RS145". 42 * public boolean accept(Packet packet) { 43 * return "RS145".equals(packet.getPacketID()); 46 * // Create a new packet collector using the filter we created. 57 * Tests whether or not the specified packet shoul 62 accept(Packet packet) argument [all...] |
H A D | IQTypeFilter.java | 22 import org.jivesoftware.smack.packet.IQ;
23 import org.jivesoftware.smack.packet.Packet;
26 * A filter for IQ packet types. Returns true only if the packet is an IQ packet
43 * @see org.jivesoftware.smack.filter.PacketFilter#accept(org.jivesoftware.smack.packet.Packet)
45 public boolean accept(Packet packet) {
argument 46 return (packet instanceof IQ && ((IQ) packet).getType().equals(type));
|
H A D | MessageTypeFilter.java | 23 import org.jivesoftware.smack.packet.Message; 24 import org.jivesoftware.smack.packet.Packet; 29 * @see org.jivesoftware.smack.packet.Message.Type 45 public boolean accept(Packet packet) { argument 46 if (!(packet instanceof Message)) { 50 return ((Message) packet).getType().equals(this.type);
|
H A D | ThreadFilter.java | 23 import org.jivesoftware.smack.packet.Packet; 24 import org.jivesoftware.smack.packet.Message; 47 public boolean accept(Packet packet) { argument 48 return packet instanceof Message && thread.equals(((Message) packet).getThread());
|
H A D | FromContainsFilter.java | 23 import org.jivesoftware.smack.packet.Packet; 37 * @param from the from field value the packet must contain. 46 public boolean accept(Packet packet) { argument 47 if (packet.getFrom() == null) { 51 return packet.getFrom().toLowerCase().indexOf(from) != -1;
|
H A D | ToContainsFilter.java | 23 import org.jivesoftware.smack.packet.Packet; 38 * @param to the to field value the packet must contain. 47 public boolean accept(Packet packet) { argument 48 if (packet.getTo() == null) { 52 return packet.getTo().toLowerCase().indexOf(to) != -1;
|
H A D | NotFilter.java | 23 import org.jivesoftware.smack.packet.Packet; 26 * Implements the logical NOT operation on a packet filter. In other words, packets 47 public boolean accept(Packet packet) { argument 48 return !filter.accept(packet);
|
H A D | PacketIDFilter.java | 23 import org.jivesoftware.smack.packet.Packet; 26 * Filters for packets with a particular packet ID. 35 * Creates a new packet ID filter using the specified packet ID. 37 * @param packetID the packet ID to filter for. 46 public boolean accept(Packet packet) { argument 47 return packetID.equals(packet.getPacketID());
|
H A D | FromMatchesFilter.java | 23 import org.jivesoftware.smack.packet.Packet; 30 * if the sender of the packet matches the specified resource. 45 * specified address is a full JID then the filter will only match if the sender of the packet 48 * @param address the from field value the packet must match. Could be a full or bare JID. 58 public boolean accept(Packet packet) { argument 59 if (packet.getFrom() == null) { 63 // Check if the bare JID of the sender of the packet matches the specified JID 64 return packet.getFrom().toLowerCase().startsWith(address); 67 // Check if the full JID of the sender of the packet matches the specified JID 68 return address.equals(packet [all...] |
H A D | PacketExtensionFilter.java | 23 import org.jivesoftware.smack.packet.Packet; 26 * Filters for packets with a particular type of packet extension. 36 * Creates a new packet extension filter. Packets will pass the filter if 37 * they have a packet extension that matches the specified element name 40 * @param elementName the XML element name of the packet extension. 41 * @param namespace the XML namespace of the packet extension. 49 * Creates a new packet extension filter. Packets will pass the filter if they have a packet 52 * @param namespace the XML namespace of the packet extension. 58 public boolean accept(Packet packet) { argument [all...] |
H A D | PacketTypeFilter.java | 23 import org.jivesoftware.smack.packet.Packet; 41 * Creates a new packet type filter that will filter for packets that are the 47 // Ensure the packet type is a sub-class of Packet. 54 public boolean accept(Packet packet) { argument 55 return packetType.isInstance(packet);
|
/external/android-clat/ |
H A D | ipv4.h | 16 * ipv4.h - takes an ipv4 packet and hands it off to the proper translate function 23 int ipv4_packet(clat_packet out, int pos, const char *packet, size_t len);
|
H A D | ipv6.h | 16 * ipv6.h - takes an ipv6 packet and hands it off to the proper translate function 23 int ipv6_packet(clat_packet out, int pos, const char *packet, size_t len);
|
/external/ppp/pppd/plugins/rp-pppoe/ |
H A D | debug.c | 78 * packet -- a PPPoE packet 83 * Dumps the PPPoE packet to fp in an easy-to-read format 86 dumpPacket(FILE *fp, PPPoEPacket *packet, char const *dir) argument 88 int len = ntohs(packet->length); 97 UINT16_t type = etherType(packet); 113 switch(packet->code) { 123 (int) ntohs(packet->session), 130 (unsigned) packet->ethHdr.h_source[0], 131 (unsigned) packet [all...] |
/external/smack/src/org/jivesoftware/smackx/muc/ |
H A D | DeafOccupantInterceptor.java | 24 import org.jivesoftware.smack.packet.Packet; 25 import org.jivesoftware.smack.packet.PacketExtension; 26 import org.jivesoftware.smack.packet.Presence; 47 public void interceptPacket(Packet packet) { argument 48 Presence presence = (Presence) packet; 53 packet.addExtension(new DeafExtension());
|
/external/smack/src/org/jivesoftware/smackx/ |
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 | PEPListener.java | 23 import org.jivesoftware.smackx.packet.PEPEvent;
|
/external/smack/src/org/jivesoftware/smackx/provider/ |
H A D | DelayInfoProvider.java | 17 import org.jivesoftware.smack.packet.PacketExtension; 18 import org.jivesoftware.smackx.packet.DelayInfo; 19 import org.jivesoftware.smackx.packet.DelayInformation;
|
/external/smack/src/org/jivesoftware/smack/packet/ |
H A D | PacketExtension.java | 21 package org.jivesoftware.smack.packet; 24 * Interface to represent packet extensions. A packet extension is an XML subdocument 27 * packet extensions include message events, message properties, and extra presence data. 28 * IQ packets cannot contain packet extensions. 53 * @return the packet extension as XML.
|
H A D | Session.java | 21 package org.jivesoftware.smack.packet;
24 * IQ packet that will be sent to the server to establish a session.<p>
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
H A D | PrivateData.java | 21 package org.jivesoftware.smackx.packet;
|