printf("write() %d\n",res);
- notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::Hungup|eSocketNotifier::Write);
+ notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::Priority|eSocketNotifier::Write);
return res;
}
void eDVBCISlot::data(int what)
{
- if(what == eSocketNotifier::Hungup) {
+ if(what == eSocketNotifier::Priority) {
if(state != stateRemoved) {
state = stateRemoved;
printf("ci removed\n");
/* enable HUP to detect removal or errors */
//notifier_event->start();
- notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::Hungup|eSocketNotifier::Write);
+ notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::Priority|eSocketNotifier::Write);
}
if(r > 0) {
printf("\n");
//eDebug("ci talks to us");
eDVBCISession::receiveData(this, data, r);
- notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::Hungup|eSocketNotifier::Write);
+ notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::Priority|eSocketNotifier::Write);
return;
}
printf("pollall\n");
if(eDVBCISession::pollAll() == 0) {
printf("disable pollout\n");
- notifier->setRequested(eSocketNotifier::Read | eSocketNotifier::Hungup);
+ notifier->setRequested(eSocketNotifier::Read | eSocketNotifier::Priority);
}
return;
}
if (fd >= 0)
{
- notifier = new eSocketNotifier(context, fd, eSocketNotifier::Read | eSocketNotifier::Hungup);
+ notifier = new eSocketNotifier(context, fd, eSocketNotifier::Read | eSocketNotifier::Priority);
CONNECT(notifier->activated, eDVBCISlot::data);
} else
{