1 | package fr.sii.ogham.core.sender; | |
2 | ||
3 | import fr.sii.ogham.core.exception.MessageException; | |
4 | import fr.sii.ogham.core.message.Message; | |
5 | ||
6 | /** | |
7 | * Base class for handling particular message implementation. This is just a | |
8 | * helper class in order to avoid casting the message. | |
9 | * | |
10 | * @author Aurélien Baudet | |
11 | * | |
12 | * @param <M> | |
13 | * The type of message that the sub-class is able to handle | |
14 | */ | |
15 | public abstract class AbstractSpecializedSender<M> implements SpecializedSender<M> { | |
16 | ||
17 | @Override | |
18 | @SuppressWarnings("unchecked") | |
19 | public void send(Message message) throws MessageException { | |
20 |
5
1. send : removed call to fr/sii/ogham/core/sender/AbstractSpecializedSender::send → NO_COVERAGE 2. send : removed call to fr/sii/ogham/core/sender/AbstractSpecializedSender::send → TIMED_OUT 3. send : removed call to fr/sii/ogham/core/sender/AbstractSpecializedSender::send → KILLED 4. send : removed call to fr/sii/ogham/core/sender/AbstractSpecializedSender::send → KILLED 5. send : removed call to fr/sii/ogham/core/sender/AbstractSpecializedSender::send → KILLED |
send((M) message); |
21 | } | |
22 | } | |
Mutations | ||
20 |
1.1 2.2 3.3 4.4 5.5 |