HomeSort by relevance Sort by last modified time
    Searched refs:Bytestream (Results 1 - 9 of 9) sorted by null

  /external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/provider/
BytestreamsProvider.java 18 import org.jivesoftware.smackx.bytestreams.socks5.packet.Bytestream;
22 * Parses a bytestream packet.
31 Bytestream toReturn = new Bytestream();
47 if (elementName.equals(Bytestream.StreamHost.ELEMENTNAME)) {
52 else if (elementName.equals(Bytestream.StreamHostUsed.ELEMENTNAME)) {
55 else if (elementName.equals(Bytestream.Activate.ELEMENTNAME)) {
77 toReturn.setMode((Bytestream.Mode.fromName(mode)));
  /external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/
Socks5ClientForInitiator.java 24 import org.jivesoftware.smackx.bytestreams.socks5.packet.Bytestream;
25 import org.jivesoftware.smackx.bytestreams.socks5.packet.Bytestream.StreamHost;
50 * @param digest identifying the SOCKS5 Bytestream
52 * @param sessionID the session ID of the SOCKS5 Bytestream
53 * @param target the target JID of the SOCKS5 Bytestream
83 throw new XMPPException("activating SOCKS5 Bytestream failed", e);
92 * Activates the SOCKS5 Bytestream by sending a XMPP SOCKS5 Bytestream activation packet to the
96 Bytestream activate = createStreamHostActivation();
102 * Returns a SOCKS5 Bytestream activation packet.
    [all...]
Socks5BytestreamRequest.java 26 import org.jivesoftware.smackx.bytestreams.socks5.packet.Bytestream;
27 import org.jivesoftware.smackx.bytestreams.socks5.packet.Bytestream.StreamHost;
30 * Socks5BytestreamRequest class handles incoming SOCKS5 Bytestream requests.
53 /* the bytestream initialization request */
54 private Bytestream bytestreamRequest;
56 /* SOCKS5 Bytestream manager containing the XMPP connection and helper methods */
94 * @param manager the SOCKS5 Bytestream manager
95 * @param bytestreamRequest the SOCKS5 Bytestream initialization packet
97 protected Socks5BytestreamRequest(Socks5BytestreamManager manager, Bytestream bytestreamRequest) {
105 * When accepting a SOCKS5 Bytestream request Smack tries to connect to all SOCKS5 proxies given
    [all...]
InitiationListener.java 27 import org.jivesoftware.smackx.bytestreams.socks5.packet.Bytestream;
30 * InitiationListener handles all incoming SOCKS5 Bytestream initiation requests. If there are no
31 * listeners for a SOCKS5 bytestream request InitiationListener will always refuse the request and
42 /* packet filter for all SOCKS5 Bytestream requests */
43 private final PacketFilter initFilter = new AndFilter(new PacketTypeFilter(Bytestream.class),
52 * @param manager the SOCKS5 Bytestream manager
69 Bytestream byteStreamRequest = (Bytestream) packet;
76 // build bytestream request from packet
80 // notify listeners for bytestream initiation from a specific user
    [all...]
Socks5BytestreamManager.java 41 import org.jivesoftware.smackx.bytestreams.socks5.packet.Bytestream;
42 import org.jivesoftware.smackx.bytestreams.socks5.packet.Bytestream.StreamHost;
43 import org.jivesoftware.smackx.bytestreams.socks5.packet.Bytestream.StreamHostUsed;
54 * A SOCKS5 Bytestream is negotiated partly over the XMPP XML stream and partly over a separate
57 * A SOCKS5 Bytestream generally has three parties, the initiator, the target, and the stream host.
61 * To establish a SOCKS5 Bytestream invoke the {@link #establishSession(String)} method. This will
62 * negotiate a SOCKS5 Bytestream with the given target JID and return a socket.
64 * If a session ID for the SOCKS5 Bytestream was already negotiated (e.g. while negotiating a file
67 * To handle incoming SOCKS5 Bytestream requests add an {@link Socks5BytestreamListener} to the
71 * respond to all SOCKS5 Bytestream requests invoke
    [all...]
Socks5Client.java 30 import org.jivesoftware.smackx.bytestreams.socks5.packet.Bytestream.StreamHost;
51 * @param digest identifying the SOCKS5 Bytestream
  /external/smack/src/org/jivesoftware/smackx/filetransfer/
Socks5TransferNegotiator.java 32 import org.jivesoftware.smackx.bytestreams.socks5.packet.Bytestream;
36 * Negotiates a SOCKS5 Bytestream to be used for file transfers. The implementation is based on the
60 throw new XMPPException("error establishing SOCKS5 Bytestream", e);
63 throw new XMPPException("error establishing SOCKS5 Bytestream", e);
71 * SOCKS5 initiation listener must ignore next SOCKS5 Bytestream request with given session
84 * InitiationListener must ignore the next SOCKS5 Bytestream request with the given session
100 // build SOCKS5 Bytestream request
102 (Bytestream) streamInitiation);
125 * This PacketFilter accepts an incoming SOCKS5 Bytestream request with a specified session ID.
132 super(Bytestream.class);
142 Bytestream bytestream = (Bytestream) packet; local
    [all...]
  /external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/packet/
Bytestream.java 25 * A packet representing part of a SOCKS5 Bytestream negotiation.
29 public class Bytestream extends IQ {
44 public Bytestream() {
54 public Bytestream(final String SID) {
60 * Set the session ID related to the bytestream. The session ID is a unique identifier used to
70 * Returns the session ID related to the bytestream negotiation.
72 * @return Returns the session ID related to the bytestream negotiation.
  /external/libvorbis/doc/
02-bitpacking.tex 103 Code the 4 bit integer value '12' [b1100] into an empty bytestream.
104 Bytestream result:
116 byte n [ ] bytestream length == 1 byte
133 byte n [ ] bytestream length == 1 byte
149 byte n [ ] bytestream length == 2 bytes
166 byte n [ ] bytestream length == 4 bytes
175 Reading from the beginning of the bytestream encoded in the above example:
185 byte 3 [0 0 0 0 0 1 1 0] bytestream length == 4 bytes
213 each bytestream (encoded bitstream) must begin and end on a byte
218 Unused space in the last byte of a bytestream is always zeroed durin
    [all...]

Completed in 111 milliseconds