removed commented out code
This commit is contained in:
parent
676c9ffcf3
commit
9ba7fabdea
@ -30,10 +30,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
virtual ReturnValue_t reply( MessageQueueMessageIF* message ) {
|
virtual ReturnValue_t reply( MessageQueueMessageIF* message ) {
|
||||||
//messageSent = true;
|
|
||||||
//lastMessage = *(dynamic_cast<MessageQueueMessage*>(message));
|
|
||||||
return sendMessage(myQueueId, message);
|
return sendMessage(myQueueId, message);
|
||||||
return HasReturnvaluesIF::RETURN_OK;
|
|
||||||
};
|
};
|
||||||
virtual ReturnValue_t receiveMessage(MessageQueueMessageIF* message,
|
virtual ReturnValue_t receiveMessage(MessageQueueMessageIF* message,
|
||||||
MessageQueueId_t *receivedFrom) {
|
MessageQueueId_t *receivedFrom) {
|
||||||
@ -61,21 +58,13 @@ public:
|
|||||||
virtual ReturnValue_t sendMessageFrom( MessageQueueId_t sendTo,
|
virtual ReturnValue_t sendMessageFrom( MessageQueueId_t sendTo,
|
||||||
MessageQueueMessageIF* message, MessageQueueId_t sentFrom,
|
MessageQueueMessageIF* message, MessageQueueId_t sentFrom,
|
||||||
bool ignoreFault = false ) {
|
bool ignoreFault = false ) {
|
||||||
//messageSent = true;
|
|
||||||
//lastMessage = *(dynamic_cast<MessageQueueMessage*>(message));
|
|
||||||
//return HasReturnvaluesIF::RETURN_OK;
|
|
||||||
return sendMessage(sendTo, message);
|
return sendMessage(sendTo, message);
|
||||||
}
|
}
|
||||||
virtual ReturnValue_t sendToDefaultFrom( MessageQueueMessageIF* message,
|
virtual ReturnValue_t sendToDefaultFrom( MessageQueueMessageIF* message,
|
||||||
MessageQueueId_t sentFrom, bool ignoreFault = false ) {
|
MessageQueueId_t sentFrom, bool ignoreFault = false ) {
|
||||||
//messageSent = true;
|
|
||||||
//lastMessage = *(dynamic_cast<MessageQueueMessage*>(message));
|
|
||||||
//return HasReturnvaluesIF::RETURN_OK;
|
|
||||||
return sendMessage(myQueueId, message);
|
return sendMessage(myQueueId, message);
|
||||||
}
|
}
|
||||||
virtual ReturnValue_t sendToDefault( MessageQueueMessageIF* message ) {
|
virtual ReturnValue_t sendToDefault( MessageQueueMessageIF* message ) {
|
||||||
//messageSent = true;
|
|
||||||
//lastMessage = *(dynamic_cast<MessageQueueMessage*>(message));
|
|
||||||
return sendMessage(myQueueId, message);
|
return sendMessage(myQueueId, message);
|
||||||
}
|
}
|
||||||
virtual ReturnValue_t sendMessage( MessageQueueId_t sendTo,
|
virtual ReturnValue_t sendMessage( MessageQueueId_t sendTo,
|
||||||
@ -114,7 +103,6 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::queue<MessageQueueMessage> messagesSentQueue;
|
std::queue<MessageQueueMessage> messagesSentQueue;
|
||||||
//MessageQueueMessage lastMessage;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user