private final String destinationKey;
private final JSONObject message;
public ApplicationDataMessage(String rawMessage) throws Exception {
super(rawMessage);
NSData data = (NSData) arguments.objectForKey("WIRMessageDataKey");
String encoded = data.getBase64EncodedData();
byte[] bytes = Base64.decodeBase64(encoded);
String s = new String(bytes);
message = new JSONObject(s);
destinationKey = arguments.objectForKey("WIRDestinationKey").toString();
if (log.isLoggable(Level.FINEST)) {