lib/metadataprotocol.js
function readTableInfo(tokens, skipSelector) {
	var tableInfo = {};
	tableInfo.winIndex = protocol.decodeInteger(tokens[1]);
	tableInfo.pubModes = protocol.decodePubModes(tokens[3]);
	tableInfo.groupName = protocol.decodeString(tokens[5]);
	tableInfo.schemaName = protocol.decodeString(tokens[7]);
	tableInfo.firstItemIndex = protocol.decodeInteger(tokens[9]);
	tableInfo.lastItemIndex = protocol.decodeInteger(tokens[11]);
	if (!skipSelector)
		tableInfo.selector = protocol.decodeString(tokens[13]);
	return tableInfo;
}
function readTableInfo(tokens, skipSelector) {
	var tableInfo = {};
	tableInfo.winIndex = protocol.decodeInteger(tokens[1]);
	tableInfo.pubModes = protocol.decodePubModes(tokens[3]);
	tableInfo.groupName = protocol.decodeString(tokens[5]);
	tableInfo.schemaName = protocol.decodeString(tokens[7]);
	tableInfo.firstItemIndex = protocol.decodeInteger(tokens[9]);
	tableInfo.lastItemIndex = protocol.decodeInteger(tokens[11]);
	if (!skipSelector)
		tableInfo.selector = protocol.decodeString(tokens[13]);
	return tableInfo;
}
function readTableInfo ( tokens , skipSelector ) { var tableInfo = { } ; tableInfo . winIndex = protocol . decodeInteger ( tokens [ 1 ] ) ; tableInfo . pubModes = protocol . decodePubModes ( tokens [ 3 ] ) ; tableInfo . groupName = protocol . decodeString ( tokens [ 5 ] ) ; tableInfo . schemaName = protocol . decodeString ( tokens [ 7 ] ) ; tableInfo . firstItemIndex = protocol . decodeInteger ( tokens [ 9 ] ) ; tableInfo . lastItemIndex = protocol . decodeInteger ( tokens [ 11 ] ) ; if ( ! skipSelector ) tableInfo . selector = protocol . decodeString ( tokens [ 13 ] ) ; return tableInfo ; }
Decode a table info part of a notify tables or notify MPN subscription request.

@param {Array} tokens the table info part of the message already tokenized
@return {Object} the decoded table info
@private
Decode a table info part of a notify tables or notify MPN subscription request .