Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Equip services to vehicles #331

Open
alizz-99 opened this issue Mar 27, 2024 · 1 comment
Open

Equip services to vehicles #331

alizz-99 opened this issue Mar 27, 2024 · 1 comment

Comments

@alizz-99
Copy link

Hi! I am trying to equip my own service to vehicles, and I want to filter it according to their type. For example, only equip cars that are "car-shuttle" type. I do it in the following way:

<services>
    <service type="CarService">
        <listener port="2001" />
        <filters><type pattern="car-shuttle" /></filters>.
    </service>
</services>

but then no car is equipped with my CarService. In filters, the type tag is used for that?

Thank you very much!

@riebl
Copy link
Owner

riebl commented Mar 27, 2024

Example usage at

<type pattern="artery.inet.Person" match="inverse" />

The type filter checks the module type of the host entities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants