New upstream version 8.1.0
This commit is contained in:
9
fsck/source/net/message/testing/DummyMsgEx.cpp
Normal file
9
fsck/source/net/message/testing/DummyMsgEx.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <program/Program.h>
|
||||
#include "DummyMsgEx.h"
|
||||
|
||||
bool DummyMsgEx::processIncoming(ResponseContext& ctx)
|
||||
{
|
||||
ctx.sendResponse(DummyMsg() );
|
||||
|
||||
return true;
|
||||
}
|
||||
20
fsck/source/net/message/testing/DummyMsgEx.h
Normal file
20
fsck/source/net/message/testing/DummyMsgEx.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef DUMMYMSGEX_H
|
||||
#define DUMMYMSGEX_H
|
||||
|
||||
#include <common/net/message/control/DummyMsg.h>
|
||||
|
||||
/*
|
||||
* this is intended for testing purposes only
|
||||
* just sends another DummyMsg back to the sender
|
||||
*/
|
||||
|
||||
class DummyMsgEx : public DummyMsg
|
||||
{
|
||||
public:
|
||||
virtual bool processIncoming(ResponseContext& ctx);
|
||||
|
||||
private:
|
||||
void processIncomingRoot();
|
||||
};
|
||||
|
||||
#endif /*DUMMYMSGEX_H*/
|
||||
Reference in New Issue
Block a user