Searched refs:outerMessage (Results 1 – 5 of 5) sorted by relevance
225 OuterMessage outerMessage = new OuterMessage(); in wrapInnerMessage() local226 outerMessage.status = OuterMessage.STATUS_OK; in wrapInnerMessage()227 outerMessage.protocolVersion = 1; in wrapInnerMessage()228 outerMessage.type = type; in wrapInnerMessage()229 outerMessage.payload = MessageNano.toByteArray(message); in wrapInnerMessage()230 return outerMessage; in wrapInnerMessage()253 OuterMessage outerMessage = wrapInnerMessage(pb); in sendMessage() local254 writeMessage(outerMessage); in sendMessage()261 OuterMessage outerMessage = new OuterMessage(); in sendErrorMessage() local262 outerMessage.protocolVersion = 1; in sendErrorMessage()[all …]
90 JSONObject outerMessage; in parseOuterMessageString() local92 outerMessage = new JSONObject(outerString); in parseOuterMessageString()96 return JsonMessageBuilder.outerJsonToPoloMessage(outerMessage); in parseOuterMessageString()
112 public static PoloMessage outerJsonToPoloMessage(JSONObject outerMessage) in outerJsonToPoloMessage() argument119 status = outerMessage.getInt(OUTER_FIELD_STATUS); in outerJsonToPoloMessage()123 payload = outerMessage.getJSONObject(OUTER_FIELD_PAYLOAD); in outerJsonToPoloMessage()124 int msgIntVal = outerMessage.getInt(OUTER_FIELD_TYPE); in outerJsonToPoloMessage()
74 XmlMessageWrapper outerMessage = in getNextMessage() local78 debug(HexDump.dumpHexString(outerMessage.serializeToByteArray())); in getNextMessage()81 String outerXML = new String(outerMessage.getPayload()); in getNextMessage()
129 JSONObject outerMessage; in outerXMLToPoloMessage() local131 outerMessage = XML.toJSONObject(outerXml); in outerXMLToPoloMessage()139 payload = outerMessage.getJSONObject(OUTER_FIELD_PAYLOAD); in outerXMLToPoloMessage()152 if (outerMessage.has("msg_id")) { in outerXMLToPoloMessage()154 mLastMessageId = outerMessage.getString("msg_id"); in outerXMLToPoloMessage()