def _message_address_generate(self, beacon_config):
		""" Generate address for request/response message.

		:param beacon_config: server or client configuration. Client configuration is used for request and \
		server configuration for response
		:return: bytes
		"""

		address = None

		if beacon_config['wasp-general::network::beacon']['public_address'] != '':
			address = str(WIPV4SocketInfo.parse_address(
				beacon_config['wasp-general::network::beacon']['public_address']
			)).encode('ascii')

		if address is not None:
			address = WBeaconGouverneurMessenger.__message_splitter__ + address

			if beacon_config['wasp-general::network::beacon']['public_port'] != '':
				port = beacon_config.getint('wasp-general::network::beacon', 'public_port')
				address += WBeaconGouverneurMessenger.__message_splitter__ + str(port).encode('ascii')

		return address if address is not None else b''
Generate address for request/response message.

		:param beacon_config: server or client configuration. Client configuration is used for request and \
		server configuration for response
		:return: bytes