NAME

OUXEV_Signal - Event object to notify that signal has occurred.

SYNOPSIS


#include <OUX/dispatch/signal.hh>

class OUXEV_Signal : public OTC_Event
{
  public:
    ~OUXEV_Signal();
    inline OUXEV_Signal(int theSignal);
    inline int signal() const;
    void* type() const;
    inline static void* typeId();
    void dump(ostream& outs) const;
    static void subscribe(int theAgentId, int theSignal);
    static void unsubscribe(int theAgentId, int theSignal);
    static void unsubscribeAgent(int theAgentId);
    static void capacity(u_int theCapacity);
    static OTC_Job* pending();
    inline static int fd();
  protected:
    void cancelSource(int theAgentId);
};

CLASS TYPE

Concrete

DESCRIPTION

OUXEV_Signal is a derived version of OTC_Event specifically for notifying agents of the occurence of a UNIX signal. The class also provides the interface for registration of interest in signals by agents.

CONSTRUCTION

inline OUXEV_Signal(int theSignal);

QUERY

inline int signal() const;

IDENTIFICATION

void* type() const;
inline static void* typeId();

DEBUGGING

void dump(ostream& outs) const;

SUBSCRIPTION

static void subscribe(int theAgentId, int theSignal);
static void unsubscribe(int theAgentId, int theSignal);
static void unsubscribeAgent(int theAgentId);

INITIALISATION

static void capacity(u_int theCapacity);

SCHEDULING

static OTC_Job* pending();
inline static int fd();

NON DELIVERY

void cancelSource(int theAgentId);

SEE ALSO

OTC_Event, OTC_EVAgent

LIBRARY

OUX

AUTHOR(S)

Graham Dumpleton

COPYRIGHT

Copyright 1993 OTC LIMITED
Copyright 1994 DUMPLETON SOFTWARE CONSULTING PTY LIMITED