Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.2.1.3.0)

E80355-01

EventObject Class Reference

#include <coherence/util/EventObject.hpp>

Inherits Describable.

Inherited by MapEvent.

List of all members.


Detailed Description

The root class from which all event state objects shall be derived.

All Events are constructed with a reference to the object, the "source", that is logically deemed to be the object upon which the Event in question initially occurred upon.

Author:
js 2008.06.04

Public Types

typedef spec::Handle Handle
 EventObject Handle definition.
typedef spec::View View
 EventObject View definition.
typedef spec::Holder Holder
 EventObject Holder definition.

Public Member Functions

virtual Object::Handle getSource () const
 The object on which the Event initially occurred.
virtual String::View getDescription () const
 Return a human-readable description of the state of this class in the form of a delimited list of name-value pairs.

The default implementation returns an empty string


Protected Member Functions

 EventObject (Object::Handle hSource)
 Create a prototypical Event.

Protected Attributes

FinalHandle< Objectf_hoSource
 The object on which the Event initially occurred.

Constructor & Destructor Documentation

EventObject ( Object::Handle  hSource  )  [protected]

Create a prototypical Event.

Parameters:
hSource the object on which the Event initially occurred
Exceptions:
IllegalArgumentException if source is NULL.


Member Function Documentation

virtual Object::Handle getSource (  )  const [virtual]

The object on which the Event initially occurred.

Returns:
The object on which the Event initially occurred


The documentation for this class was generated from the following file:
Copyright © 2000, 2017, Oracle and/or its affiliates. All rights reserved.