Class IceComponentStateChangedEvent
java.lang.Object
org.kurento.client.RaiseBaseEvent
org.kurento.client.MediaEvent
org.kurento.client.IceComponentStateChangedEvent
- All Implemented Interfaces:
Event
Event fired when and ICE component state changes.
See :rom:cls:`IceComponentState` for a list of possible states.
-
Constructor Summary
ConstructorsConstructorDescriptionIceComponentStateChangedEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, int streamId, int componentId, IceComponentState state) Event fired when and ICE component state changes. -
Method Summary
Modifier and TypeMethodDescriptionintGetter for the componentId propertygetState()Getter for the state propertyintGetter for the streamId propertyvoidsetComponentId(int componentId) Setter for the componentId propertyvoidsetState(IceComponentState state) Setter for the state propertyvoidsetStreamId(int streamId) Setter for the streamId propertyMethods inherited from class MediaEvent
getType, setTypeMethods inherited from class RaiseBaseEvent
getSource, getTags, getTimestampMillis, setSource, setTags, setTimestampMillis
-
Constructor Details
-
IceComponentStateChangedEvent
public IceComponentStateChangedEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, int streamId, int componentId, IceComponentState state) Event fired when and ICE component state changes. See :rom:cls:`IceComponentState` for a list of possible states.- Parameters:
source- Object that raised the eventtimestampMillis- The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).tags-type- Type of event that was raisedstreamId- The ID of the streamcomponentId- The ID of the componentstate- The state of the component
-
-
Method Details
-
getStreamId
public int getStreamId()Getter for the streamId property- Returns:
- The ID of the stream *
-
setStreamId
public void setStreamId(int streamId) Setter for the streamId property- Parameters:
streamId- The ID of the stream
-
getComponentId
public int getComponentId()Getter for the componentId property- Returns:
- The ID of the component *
-
setComponentId
public void setComponentId(int componentId) Setter for the componentId property- Parameters:
componentId- The ID of the component
-
getState
Getter for the state property- Returns:
- The state of the component *
-
setState
Setter for the state property- Parameters:
state- The state of the component
-