Home | History | Annotate | Download | only in protobuf

Lines Matching defs:outer

173   OuterMessage outer;
176 if (!outer.ParseFromString(string)) {
177 LOG(ERROR) << "Error parsing outer message";
182 if (outer.status() != OuterMessage_Status_STATUS_OK) {
183 LOG(ERROR) << "Got error message: " << outer.status();
185 switch (outer.status()) {
197 LOG(INFO) << "Parsing message type: " << outer.type();
199 switch (outer.type()) {
201 ParseConfigurationMessage(outer.payload());
204 ParseConfigurationAckMessage(outer.payload());
207 ParseOptionsMessage(outer.payload());
210 ParsePairingRequestMessage(outer.payload());
213 ParsePairingRequestAckMessage(outer.payload());
216 ParseSecretMessage(outer.payload());
219 ParseSecretAckMessage(outer.payload());
222 LOG(ERROR) << "Unknown message type " << outer.type();
365 OuterMessage outer;
366 outer.set_protocol_version(1);
380 outer.set_status(status);
382 SendOuterMessage(outer);
387 // Create the outer message which specifies the message type and payload data.
388 OuterMessage outer;
389 outer.set_type(type);
390 outer.set_payload(payload);
391 outer.set_protocol_version(1);
392 outer.set_status(OuterMessage_Status_STATUS_OK);
394 SendOuterMessage(outer);