|
|
|
|
@ -44,12 +44,12 @@ void CUsers::AddUser(const CUser &user)
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// operation
|
|
|
|
|
|
|
|
|
|
void CUsers::Hearing(const CCallsign &my, const CCallsign &rpt1, const CCallsign &rpt2)
|
|
|
|
|
void CUsers::Hearing(const CCallsign &my, const CCallsign &rpt1, const CCallsign &rpt2, EProtocol protocol)
|
|
|
|
|
{
|
|
|
|
|
Hearing(my, rpt1, rpt2, g_Reflector.GetCallsign());
|
|
|
|
|
Hearing(my, rpt1, rpt2, g_Reflector.GetCallsign(), protocol);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CUsers::Hearing(const CCallsign &my, const CCallsign &rpt1, const CCallsign &rpt2, const CCallsign &xlx)
|
|
|
|
|
void CUsers::Hearing(const CCallsign &my, const CCallsign &rpt1, const CCallsign &rpt2, const CCallsign &xlx, EProtocol protocol)
|
|
|
|
|
{
|
|
|
|
|
CUser heard(my, rpt1, rpt2, xlx);
|
|
|
|
|
|
|
|
|
|
@ -73,5 +73,6 @@ void CUsers::Hearing(const CCallsign &my, const CCallsign &rpt1, const CCallsign
|
|
|
|
|
event["rpt1"] = rpt2.GetCS();
|
|
|
|
|
event["rpt2"] = xlx.GetCS();
|
|
|
|
|
event["module"] = std::string(1, xlx.GetCSModule());
|
|
|
|
|
event["protocol"] = g_GateKeeper.ProtocolName(protocol);
|
|
|
|
|
g_NNGPublisher.Publish(event);
|
|
|
|
|
}
|
|
|
|
|
|