HomeSort by relevance Sort by last modified time
    Searched refs:wire (Results 1 - 25 of 116) sorted by null

1 2 3 4 5

  /external/apache-http/src/org/apache/http/impl/conn/
LoggingSessionOutputBuffer.java 40 * Logs all data written to the wire LOG.
56 /** The wire log to use. */
57 private final Wire wire; field in class:LoggingSessionOutputBuffer
62 * @param wire The Wire log to use.
64 public LoggingSessionOutputBuffer(final SessionOutputBuffer out, final Wire wire) {
67 this.wire = wire;
    [all...]
LoggingSessionInputBuffer.java 40 * Logs all data read to the wire LOG.
58 /** The wire log to use for writing. */
59 private final Wire wire; field in class:LoggingSessionInputBuffer
64 * @param wire The wire log to use.
66 public LoggingSessionInputBuffer(final SessionInputBuffer in, final Wire wire) {
69 this.wire = wire;
    [all...]
Wire.java 2 * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/Wire.java,v 1.9 2004/06/24 21:39:52 mbecke Exp $
39 * Logs data to the wire LOG.
50 public class Wire {
54 public Wire(Log log) {
58 private void wire(String header, InputStream instream) method in class:Wire
97 wire(">> ", outstream);
105 wire("<< ", instream);
113 wire(">> ", new ByteArrayInputStream(b, off, len));
121 wire("<< ", new ByteArrayInputStream(b, off, len));
129 wire(">> ", new ByteArrayInputStream(b))
    [all...]
  /external/google-tv-pairing-protocol/cpp/src/polo/pairing/
serverpairingsession.cc 24 ServerPairingSession::ServerPairingSession(wire::PoloWireAdapter *wire,
28 : PairingSession(wire, context, challenge),
37 wire()->GetNextMessage();
42 wire()->GetNextMessage();
54 wire()->SendPairingRequestAckMessage(ack);
57 wire()->GetNextMessage();
64 wire()->SendOptionsMessage(local_options());
72 wire()->SendErrorMessage(kErrorBadConfiguration);
83 wire()->SendErrorMessage(kErrorBadConfiguration)
    [all...]
clientpairingsession.cc 26 ClientPairingSession::ClientPairingSession(wire::PoloWireAdapter *wire,
31 : PairingSession(wire, context, challenge),
42 wire()->SendPairingRequestMessage(message);
45 wire()->SendPairingRequestMessage(message);
49 wire()->GetNextMessage();
60 wire()->SendConfigurationMessage(*config);
61 wire()->GetNextMessage();
74 wire()->SendOptionsMessage(local_options());
75 wire()->GetNextMessage()
    [all...]
clientpairingsession.h 31 // @param wire the wire adapter used to send and receive Polo messages
36 ClientPairingSession(wire::PoloWireAdapter* wire,
serverpairingsession.h 31 // @param wire the wire adapter used to send and receive Polo messages
35 ServerPairingSession(wire::PoloWireAdapter *wire,
pairingsession.h 24 #include "polo/wire/polowireadapter.h"
55 // Creates a new pairing session. The given wire adapter will be used for
59 PairingSession(wire::PoloWireAdapter* wire,
151 // Gets the wire adapter used to send and receive Polo messages.
152 wire::PoloWireAdapter* wire() const { return wire_; } function in class:polo::pairing::PairingSession
186 wire::PoloWireAdapter* wire_;
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/
WireFormat.java 17 package com.google.polo.wire;
20 import com.google.polo.wire.json.JsonWireAdapter;
21 import com.google.polo.wire.protobuf.ProtobufWireAdapter;
22 import com.google.polo.wire.xml.XmlWireAdapter;
25 * Represents the various wire formats available.
PoloWireInterface.java 17 package com.google.polo.wire;
31 * Returns the next message from the wire.
40 * Returns the next message from the wire.
52 * Send a normal message out on the wire.
62 * Send an error message out on the wire, based on an exception.
  /external/okhttp/okhttp-hpacktests/src/test/java/com/squareup/okhttp/internal/spdy/hpackjson/
Case.java 27 * Representation of an individual case (set of headers and wire format).
34 private String wire; field in class:Case
47 return ByteString.decodeHex(wire);
54 public void setWire(ByteString wire) {
55 this.wire = wire.hex();
62 result.wire = wire;
  /external/google-tv-pairing-protocol/cpp/src/polo/wire/
polowireadapter.cc 17 #include "polo/wire/polowireadapter.h"
20 namespace wire { namespace in namespace:polo
32 } // namespace wire
polowirelistener.h 22 namespace wire { namespace in namespace:polo
24 // Listener that receives bytes from a wire interface.
33 // Handles a protocol error from the wire interface if there was an error
39 } // namespace wire
polowireinterface.h 21 #include "polo/wire/polowirelistener.h"
25 namespace wire { namespace in namespace:polo
56 } // namespace wire
  /external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/
tsig.py 60 def sign(wire, keyname, secret, time, fudge, original_id, error,
80 ctx.update(wire[2:])
111 def hmac_md5(wire, keyname, secret, time, fudge, original_id, error,
114 return sign(wire, keyname, secret, time, fudge, original_id, error,
117 def validate(wire, keyname, secret, now, request_mac, tsig_start, tsig_rdata,
127 (adcount,) = struct.unpack("!H", wire[10:12])
131 new_wire = wire[0:10] + struct.pack("!H", adcount) + wire[12:tsig_start]
133 (aname, used) = dns.name.from_wire(wire, current)
136 struct.unpack("!HIHH", wire[current:current + 10]
    [all...]
edns.py 32 """Convert an option to wire format.
36 def from_wire(cls, otype, wire, current, olen):
37 """Build an EDNS option object from wire format
41 @param wire: The wire-format message
42 @type wire: string
43 @param current: The offet in wire of the beginning of the rdata.
45 @param olen: The length of the wire-format option data
111 def from_wire(cls, otype, wire, current, olen):
112 return cls(otype, wire[current : current + olen]
    [all...]
query.py 113 wire = q.to_wire()
134 s.sendto(wire, destination)
137 (wire, from_address) = s.recvfrom(65535)
148 r = dns.message.from_wire(wire, keyring=q.keyring, request_mac=q.mac,
218 wire = q.to_wire()
240 l = len(wire)
242 # copying the wire into tcpmsg is inefficient, but lets us
245 tcpmsg = struct.pack("!H", l) + wire
249 wire = _net_read(s, l, expiration)
252 r = dns.message.from_wire(wire, keyring=q.keyring, request_mac=q.mac
    [all...]
  /external/google-tv-pairing-protocol/cpp/tests/polo/wire/
mocks.h 19 #include <polo/wire/polowireinterface.h>
20 #include <polo/wire/polowireadapter.h>
24 namespace wire { namespace in namespace:polo
60 } // namespace wire
  /external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/ANY/
HINFO.py 60 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None):
61 l = ord(wire[current])
66 cpu = wire[current : current + l]
69 l = ord(wire[current])
74 os = wire[current : current + l]
ISDN.py 70 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None):
71 l = ord(wire[current])
76 address = wire[current : current + l]
80 l = ord(wire[current])
85 subaddress = wire[current : current + l]
SSHFP.py 62 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None):
63 header = struct.unpack("!BB", wire[current : current + 2])
66 fingerprint = wire[current : current + rdlen]
X25.py 50 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None):
51 l = ord(wire[current])
56 address = wire[current : current + l]
  /external/google-tv-pairing-protocol/cpp/tests/polo/pairing/
serverpairingsessiontest.cc 20 #include "polo/wire/mocks.h"
33 TestServerPairingSession(wire::PoloWireAdapter* wire,
36 : ServerPairingSession(wire, context, challenge, "server1") {
77 StrictMock<wire::MockWireInterface> interface_;
78 StrictMock<wire::MockWireAdapter> wire_;
  /external/google-tv-pairing-protocol/cpp/
Makefile.am 70 polo_wire_includedir = $(includedir)/polo/wire
72 src/polo/wire/polowireadapter.h \
73 src/polo/wire/polowireinterface.h \
74 src/polo/wire/polowirelistener.h
76 polo_wire_protobuf_includedir = $(includedir)/polo/wire/protobuf
78 src/polo/wire/protobuf/polo.pb.h \
79 src/polo/wire/protobuf/protobufwireadapter.h
100 src/polo/wire/protobuf/polo.pb.cc \
101 src/polo/wire/protobuf/polo.pb.h
107 --cpp_out=$(srcdir)/src/polo/wire/protobuf
    [all...]
  /external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/message/
PoloMessage.java 19 import com.google.polo.wire.PoloWireInterface;
25 * the wire version of protocol messages to subclasses of PoloMessage.

Completed in 575 milliseconds

1 2 3 4 5