def server_receives_message(self, *parameters):
        """Receive a message with template defined using `New Message` and
        validate field values.

        Message template has to be defined with `New Message` before calling
        this.

        Optional parameters:
        - `name` the client name (default is the latest used) example: `name=Client 1`
        - `connection` alias. example: `connection=connection 1`
        - `timeout` for receiving message. example: `timeout=0.1`
        - `latest` if set to True, get latest message from buffer instead first. Default is False. Example: `latest=True`
        -  message field values for validation separated with colon. example: `some_field:0xaf05`

        Optional parameters are server `name`, `connection` alias and
        possible `timeout` separated with equals and message field values for
        validation separated with colon.

        Examples:
        | ${msg} = | Server receives message |
        | ${msg} = | Server receives message | name=Server1 | alias=my_connection | timeout=5 |
        | ${msg} = | Server receives message | message_field:(0|1) |
        """
        with self._receive(self._servers, *parameters) as (msg, message_fields, header_fields):
            self._validate_message(msg, message_fields, header_fields)
            return msg
def server_receives_message ( self , * parameters ) : with self . _receive ( self . _servers , * parameters ) as ( msg , message_fields , header_fields ) : self . _validate_message ( msg , message_fields , header_fields ) return msg
Receive a message with template defined using `New Message` and
        validate field values.

        Message template has to be defined with `New Message` before calling
        this.

        Optional parameters:
        - `name` the client name (default is the latest used) example: `name=Client 1`
        - `connection` alias. example: `connection=connection 1`
        - `timeout` for receiving message. example: `timeout=0.1`
        - `latest` if set to True, get latest message from buffer instead first. Default is False. Example: `latest=True`
        -  message field values for validation separated with colon. example: `some_field:0xaf05`

        Optional parameters are server `name`, `connection` alias and
        possible `timeout` separated with equals and message field values for
        validation separated with colon.

        Examples:
        | ${msg} = | Server receives message |
        | ${msg} = | Server receives message | name=Server1 | alias=my_connection | timeout=5 |
        | ${msg} = | Server receives message | message_field:(0|1) |