Files
scandocs/uni/masterarbeit/source/moversight/app/events/PeerIsPendingEvent.h
2014-06-30 13:58:10 +02:00

37 lines
968 B
C++

#pragma once
#ifndef PEER_IS_PENDING_EVENT_H
#define PEER_IS_PENDING_EVENT_H
#include <core/event/group_event.h>
#include "EventTypes.h"
#include "common/Defines.h"
#include "common/transport/TransportAddress.h"
namespace ubeeme {
namespace moversight {
class MOV_EXPORT PeerIsPendingEvent: public GroupEvent<EventTypes> {
public:
PeerIsPendingEvent(PeerID const &pId, TransportAddress const &ta);
virtual ~PeerIsPendingEvent();
static EventType getType();
PeerID const &getPendingPeerID() const;
void setPendingPeerID(PeerID const &pId);
TransportAddress const &getPendingPeerTA() const;
void setPendingPeerTA(TransportAddress const &aTa);
private:
PeerID pendingPeerID;
TransportAddress pendingPeerTA;
};
}
} // namespace ubeeme
#endif // PEER_IS_PENDING_EVENT_H