Class Oort.CometListener.Event

java.lang.Object
java.util.EventObject
org.cometd.oort.Oort.CometListener.Event
All Implemented Interfaces:
java.io.Serializable
Enclosing interface:
Oort.CometListener

public static class Oort.CometListener.Event
extends java.util.EventObject
Comet event object delivered to Oort.CometListener methods.
See Also:
Serialized Form
  • Field Summary

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors
    Constructor Description
    Event​(Oort source, java.lang.String cometId, java.lang.String cometURL)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getCometId()  
    java.lang.String getCometURL()  
    Oort getOort()  

    Methods inherited from class java.util.EventObject

    getSource, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Event

      public Event​(Oort source, java.lang.String cometId, java.lang.String cometURL)
  • Method Details

    • getOort

      public Oort getOort()
      Returns:
      the local Oort object
    • getCometId

      public java.lang.String getCometId()
      Returns:
      the ID of the comet that generated the event
    • getCometURL

      public java.lang.String getCometURL()
      Returns:
      the URL of the comet that generated the event