// Recv messages with user1 signalling
void Master::SignalHandler(eUserSig eSignal)
{
    switch(eSignal)
    {
        case SIGUSER1:
		{
            // We would also like to disable the user1 signal at this point to get called again.
            char *pMsg = NULL;
            {
                // We also need to iterate also 
                MutexGuard mutex(Master::messageBox);
                pMsg = Master::messageBox.PopFront();
            }
            if(NULL != pMsg)
            {
                TLV tlv;
				ProcService proc;
                MsgOper::Get(pMsg, tlv);
                string str(tlv.pcValue, tlv.tl.uLength);
                TRACE(proc.Get(), "Recvd Message", str);
                MsgOper::Destroy(pMsg);
                pMsg = NULL;
            }
            else
            {
                ProcService proc;
                TRACE(proc.Get(), "Recvd Message", "NULL");
            }
			break;
        }
		case SIGINTR:
		{
			ProcService proc;
			Master *pThis = proc.Get();
			pThis->InternalSignal();
			TRACE(pThis, "Recv Signal", "SIGINTR");
		}
			
    }
}