src/types/message.js
function Message(data, source){
	source = source || {}
	this.data = data
	this.key = source.key
	this.sourceChannel = source.name
}
function Message(data, source){
	source = source || {}
	this.data = data
	this.key = source.key
	this.sourceChannel = source.name
}
function Message ( data , source ) { source = source || { } this . data = data this . key = source . key this . sourceChannel = source . name }
Message entity constructor
@param {*} data - any data to be transfered
@param {Object} [source] - source sent from
Message entity constructor