3/4/98 PWG Presentation - Events and Notification5 OMG Interfaces zFilter zMappingFilter zFilterFactory zFilters: 4/15 pages of IDL zFilter Objects work on yAny, Structured, Typed zChannel -> Admin -> Proxy -> Message
3/4/98 PWG Presentation - Events and Notification6 OMG Events zEvent Transmission yAny, Structured, Sequences of Structured zClient chooses, Channel maps yAny -> Structured yStructured -> Any yetc.
3/4/98 PWG Presentation - Events and Notification7 Structured Events zEvent Header yFixed (domain, type, name) yVariable (set of properties) xpriority, start-time, stop-time, time-out zEvent Body yFilterable Event Fields (set of properties) yRemaining Body (OctetStream)
3/4/98 PWG Presentation - Events and Notification8 OMG Other zSystem Events yEvents on the Event Channel zConstraint Grammar yNOT: vh.name == priority AND vh.value >2 yYES: vh[priority] > 2 zRun time variables y$curtime; $priority IS vh[priority]
3/4/98 PWG Presentation - Events and Notification9 OMG Other cont. zQoS set at all levels: yPer Channel yPer Admin yPer Proxy yPer Message zsubscription_change zoffer_change zType Repository: event -> properties
3/4/98 PWG Presentation - Events and Notification10 TOG ztimely warning of impending problems znotifying system administrators of failing processes and system components zspeedily identifying root causes of problems in ever more complex systems zautomatically fixing problems before service levels are degraded zsupport application-specific events for cross-application correlation and communication z246 pages
3/4/98 PWG Presentation - Events and Notification11 TOG: Event Report zevent identification, category and subcategory zdate/time/timezone of origin zoriginating process (physical ID) zcomponent, subcomponent, module, subroutine, source code line, and so on, identifiers zpriority and severity code ztext message zend-user device identifier.
3/4/98 PWG Presentation - Events and Notification12 TOG: Notification Methods z message notification zbeeper called zlog file entry posted zrow inserted into some table in some database zmanaged server stored-procedure execution
3/4/98 PWG Presentation - Events and Notification13 TOG: Methods cont. zSNMP alert raised zasynchronous desktop visual alert (for example, GUI pop-up) zvisual cue in iconic representations (for example, color change) zarbitrary program execution zinvoke management services at API level
3/4/98 PWG Presentation - Events and Notification14 TOG:Components zChannel zSupplier, Supplier Proxy zConsumer, Consumer Proxy zRepository yFiler, Schema, Event, Registered Clients zGateways to other event systems
3/4/98 PWG Presentation - Events and Notification20 JAVA zJavaSoft: Java Message Service yEvents Messages not Messages zJava Message Service Technology: Leveraging Messaging Systems for Enterprise Applications zSpeaker: Mark Hapner, Senior Staff Engineer, Sun Microsystems, Inc.
3/4/98 PWG Presentation - Events and Notification21 javaone98/tracks.html zAbstract: Enterprise infrastructures rely increasingly on messsage-oriented middleware. The Java Message Service (JMS) technology is the Java Enterprise API technology for messaging. JMS provides capabilities for reliable queues and publish/subscribe messaging. Reliable queues provide the basis for asynchronous task management within an enterprise. Publish/subscribe functionality supports dynamic interconnection of information sources with subscribers interested in that information. This talk describe the JMS API technology and its uses in modern enterprises.
3/4/98 PWG Presentation - Events and Notification33 NDPS Event Notification Service (ENS) Goals zProvide extensible, asynchronous distribution channel for event data. ySupportive of diverse address schemes and delivery methods yTransport and platform neutral yLocalization friendly ySecure yEfficient in its use of network bandwidth
3/4/98 PWG Presentation - Events and Notification34 ENS Principles zNotification Protocol is a separable, general purpose protocol, it IS NOT just a subset of the Print protocol zUse a channel for scalability zThe service makes it possible for the client (not server) to localize/translate zUse mixed (human and machine) consumption models
3/4/98 PWG Presentation - Events and Notification35 No Channel Client Printer
3/4/98 PWG Presentation - Events and Notification36 Single Channel Client Printer
3/4/98 PWG Presentation - Events and Notification37 Communities of Interest: Multiple Channels Client Printer
3/4/98 PWG Presentation - Events and Notification38 Very Large Numbers of Clients Printer Clients
3/4/98 PWG Presentation - Events and Notification39 ENS Architecture Registration Request / Report Bill Notification Persistent Requests NDS Tree Notification Supplier Notification Consumer ENS
3/4/98 PWG Presentation - Events and Notification40 ENS Scenario 12a2b3456a6b6c6d6e 1. Printer Agent registers with Broker 2a. Print Job with Profile or 2b. Add Profile with Profile 3. Printer Agent remembers some interest 4. An event happens 5. Report the event 6. a) programmatic; b) log; c) ; d) pop-up; e) directed pop-up ENS profile T
3/4/98 PWG Presentation - Events and Notification42 Submitting a Profile zPrinter Agent only reports an event if there is some interest zProfile with Job (Security: User role) yJob and Printer events (printer only while Job is active) zProfile outside of Job (Security: Operator role) yPrinter and All Jobs
3/4/98 PWG Presentation - Events and Notification43 What is a Profile? zNotification Profile ypersistence yconsumer name ylanguage id ymethod oid ydelivery address yset of event objects
3/4/98 PWG Presentation - Events and Notification44 I18N zClient requests a language zReport Contains yIdentifiers yStrings xIn client preference if possible xIn server default config otherwise zRemote Identifier to String database yCached on client ySupport for any language
3/4/98 PWG Presentation - Events and Notification45 Types of Events zAbstract Events yPrinter xError, Warning, Report yJob xError, Warning, Report yOther zState Change yAny MIB Object - value change yInstrumented for MIB Alerts
3/4/98 PWG Presentation - Events and Notification46 UI and Profiles zUI for: yAll Printer events yAll Printer Error events ySpecific Printer Error events zWhen the media in tray 1 goes to 0 zObjects and Attributes
3/4/98 PWG Presentation - Events and Notification47 Event Report zEvent Report yevent type ycontaining class oid and id yfilter class oid yobject class oid and id yevent oid yevent attribute set ytime
3/4/98 PWG Presentation - Events and Notification48 NDPS: Publish/Subscribe with variations zMany (extensible) notification methods zSubscribe by proxy through the printer yInstead of finding Printer Agent AND Channel yJust find Printer Agent ySubscription is made zListener (programmatic) zGuaranteed zHalt the Service