lib/metadataprotocol.js
function readNotifyMpnDeviceTokenChange(message, tokens) {
	message.userName = protocol.decodeString(tokens[1]);
	message.sessionId = protocol.decodeString(tokens[3]);
	message.device = {};
	message.device.mpnPlatformType = protocol.decodeString(tokens[5]);
	message.device.applicationId = protocol.decodeString(tokens[7]);
	message.device.deviceToken = protocol.decodeString(tokens[9]);
	message.newDeviceToken = protocol.decodeString(tokens[11]);
}
function readNotifyMpnDeviceTokenChange(message, tokens) {
	message.userName = protocol.decodeString(tokens[1]);
	message.sessionId = protocol.decodeString(tokens[3]);
	message.device = {};
	message.device.mpnPlatformType = protocol.decodeString(tokens[5]);
	message.device.applicationId = protocol.decodeString(tokens[7]);
	message.device.deviceToken = protocol.decodeString(tokens[9]);
	message.newDeviceToken = protocol.decodeString(tokens[11]);
}
function readNotifyMpnDeviceTokenChange ( message , tokens ) { message . userName = protocol . decodeString ( tokens [ 1 ] ) ; message . sessionId = protocol . decodeString ( tokens [ 3 ] ) ; message . device = { } ; message . device . mpnPlatformType = protocol . decodeString ( tokens [ 5 ] ) ; message . device . applicationId = protocol . decodeString ( tokens [ 7 ] ) ; message . device . deviceToken = protocol . decodeString ( tokens [ 9 ] ) ; message . newDeviceToken = protocol . decodeString ( tokens [ 11 ] ) ; }
Decode a notify MPN device token change request.

@param {Object} message the message object partially initialized with the id and the verb
@param {Array} tokens the rest of the message already tokenized
@private
Decode a notify MPN device token change request .