Project

General

Profile

Actions

Adapter Description

An example of adapter description file is here.


/* Events */

event <event_type> <event_name>;
...

/* Message types */

message <message_type_name> {

  /* Message fields */
  <message_field_capacity_range> <message_field_name> (<message_field_mask>);
  ...

} // message
...

/* Interfaces */

<interface_type> <interface_name> of <message_type_name>;
...

/* Adapters */
adapter <adapter_name> of <interface_name> (<message_type_name> <message_instance_name>) {

  /* Here lies a sequence of statements including the following specific kinds */
  statement: assignment | declaration | wait
  wait : 'wait (<event_name>)'

} // adapter
...

Updated by Sergey Smolov over 4 years ago · 1 revisions