31 lines
682 B
C++
31 lines
682 B
C++
#pragma once
|
|
|
|
#ifndef JOIN_GROUP_DONE_EVENT_H
|
|
#define JOIN_GROUP_DONE_EVENT_H
|
|
|
|
#include <core/event/group_event.h>
|
|
|
|
#include "EventTypes.h"
|
|
#include "common/Peer.h"
|
|
|
|
namespace ubeeme {
|
|
namespace moversight {
|
|
|
|
class MOV_EXPORT JoinGroupDoneEvent: public GroupEvent<EventTypes> {
|
|
public:
|
|
|
|
JoinGroupDoneEvent(Peer const &p);
|
|
virtual ~JoinGroupDoneEvent();
|
|
static EventType getType();
|
|
|
|
Peer const &getLocalPeer() const;
|
|
void setLocalPeer(Peer const &p);
|
|
|
|
private:
|
|
Peer localPeer;
|
|
};
|
|
}
|
|
} // namespace ubeeme
|
|
|
|
#endif // JOIN_GROUP_DONE_EVENT_H
|