MCPcopy Create free account
hub / github.com/amule-project/amule / Add_EC_Client

Method Add_EC_Client

src/ExternalConn.cpp:2685–2695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2683}
2684
2685void ECNotifier::Add_EC_Client(CECServerSocket *sock)
2686{
2687 ECUpdateMsgSource **notifier_array = new ECUpdateMsgSource *[EC_STATUS_LAST_PRIO];
2688 notifier_array[EC_STATUS] = new ECStatusMsgSource();
2689 notifier_array[EC_SEARCH] = new ECSearchMsgSource();
2690 notifier_array[EC_PARTFILE] = new ECPartFileMsgSource();
2691 notifier_array[EC_CLIENT] = new ECClientMsgSource();
2692 notifier_array[EC_KNOWN] = new ECKnownFileMsgSource();
2693
2694 m_msg_source[sock] = notifier_array;
2695}
2696
2697void ECNotifier::Remove_EC_Client(CECServerSocket *sock)
2698{

Callers 1

AuthenticateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected