Class ListenToConnectionEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
uk.ac.gda.client.live.stream.event.LiveStreamEvent
uk.ac.gda.client.live.stream.event.ListenToConnectionEvent
- All Implemented Interfaces:
Serializable,RootCompositeAware
Message published either when a rootComposite
Composite requires the children to listen at a
LiveStreamConnection.- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the root component for the element which publishes this eventMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface uk.ac.gda.client.event.RootCompositeAware
haveSameParent
-
Constructor Details
-
ListenToConnectionEvent
- Parameters:
source- the liveStream instance to listen torootComposite- the component requiring the action
-
-
Method Details
-
getRootComposite
Description copied from interface:RootCompositeAwareReturns the root component for the element which publishes this event- Specified by:
getRootCompositein interfaceRootCompositeAware- Returns:
- a component unique id
-