Files
openairinterface5g/openair2/RRM_4_RRC_LITE/src/com/rrc/RRCUdpSocket.cpp
T
2013-06-25 09:05:02 +00:00

17 lines
389 B
C++
Executable File

#include <stdio.h>
#include "RRCUdpSocket.h"
#include "RRCMessageHandler.h"
RRCUdpSocket::RRCUdpSocket(ISocketHandler& h,int ibufsz, bool ipv6)
:UdpSocket(h, ibufsz, ipv6)
{
}
void RRCUdpSocket::OnRawData(const char *in_bufferP,size_t size_dataP,struct sockaddr *sa_fromP,socklen_t sa_lenP)
{
RRCMessageHandler::Instance()->NotifyRxData(in_bufferP, size_dataP, sa_fromP, sa_lenP);
}