protected function bareMessage($type)
	{
		$m = [
			'MessageType' => $type,
			'Event' => null,
			'RequestId' => null,
			'ReplyClientId' => null,
			'RequestClientId' => null,
			'Payload' => [],
			'Error' => null,
		];

		return (object) $m;
	}
protected function bareMessage($type)
	{
		$m = [
			'MessageType' => $type,
			'Event' => null,
			'RequestId' => null,
			'ReplyClientId' => null,
			'RequestClientId' => null,
			'Payload' => [],
			'Error' => null,
		];

		return (object) $m;
	}
protected function bareMessage ( $ type ) { $ m = [ 'MessageType' => $ type , 'Event' => null , 'RequestId' => null , 'ReplyClientId' => null , 'RequestClientId' => null , 'Payload' => [ ] , 'Error' => null , ] ; return ( object ) $ m ; }
Instantiate a new message

@param   int  $type  the message tyoe
@return  stdClass  the new instance
Instantiate a new message