lib/metadataprotocol.js
function readInit(message, tokens) {
	var i;
	message.parameters = {};
	for (i = 0; i < tokens.length; i = i + 4) {
		message.parameters[protocol.decodeString(tokens[i + 1])] = protocol.decodeString(tokens[i + 3]);
	}
}
function readInit(message, tokens) {
	var i;
	message.parameters = {};
	for (i = 0; i < tokens.length; i = i + 4) {
		message.parameters[protocol.decodeString(tokens[i + 1])] = protocol.decodeString(tokens[i + 3]);
	}
}
function readInit ( message , tokens ) { var i ; message . parameters = { } ; for ( i = 0 ; i < tokens . length ; i = i + 4 ) { message . parameters [ protocol . decodeString ( tokens [ i + 1 ] ) ] = protocol . decodeString ( tokens [ i + 3 ] ) ; } }
Decode a init 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 init request .