Ejemplo n.º 1
0
static void
_queueMessage(AthenaTransportLink *athenaTransportLink, CCNxMetaMessage *ccnxMetaMessage)
{
    struct _UDPLinkData *linkData = athenaTransportLink_GetPrivateData(athenaTransportLink);
    parcDeque_Append(linkData->queue, ccnxMetaMessage);
    athenaTransportLink_SetEvent(athenaTransportLink, AthenaTransportLinkEvent_Receive);
}
static int
_internalSEND(_TemplateLinkData *linkData, PARCBuffer *wireFormatBuffer)
{
    parcDeque_Append(linkData->queue, parcBuffer_Copy(wireFormatBuffer));
    return 0;
}