# zrtpeventproc.h

Go to the documentation of this file.

    00001 #ifndef OPAL_ZRTP_ZRTPEVENTPROC_H
    00002 #define OPAL_ZRTP_ZRTPEVENTPROC_H
    00003
    00004 #include <zrtp.h>
    00005 #include <opal/buildopts.h>
    00006 #include <opal/connection.h>
    00007
    00008 class ZrtpEventProcessor {
    00009   public:
    00010         virtual ~ZrtpEventProcessor()  {}
    00011     virtual void OnClear           (OpalConnection * /*connection*/, unsigned int /*sessionID*/) {}
    00012     virtual void OnInitiatingSecure(OpalConnection * /*connection*/, unsigned int /*sessionID*/) {}
    00013     virtual void OnPendingSecure   (OpalConnection * /*connection*/, unsigned int /*sessionID*/) {}
    00014     virtual void OnPendingClear    (OpalConnection * /*connection*/, unsigned int /*sessionID*/) {}
    00015     virtual void OnSecure          (OpalConnection * /*connection*/, unsigned int /*sessionID*/) {}
    00016     virtual void OnError           (OpalConnection * /*connection*/, unsigned int /*sessionID*/) {}
    00017     virtual void OnNoZrtp          (OpalConnection * /*connection*/, unsigned int /*sessionID*/) {}
    00018     virtual void OnUnknownEvent    (OpalConnection * /*connection*/, unsigned int /*sessionID*/, zrtp_event_t /*event*/) {}
    00019 };
    00020
    00021 #endif // OPAL_ZRTP_ZRTPEVENTPROC_H