Package org.kurento.client
Class IceComponentStateChangedEvent
- java.lang.Object
-
- org.kurento.client.RaiseBaseEvent
-
- org.kurento.client.MediaEvent
-
- org.kurento.client.IceComponentStateChangedEvent
-
- All Implemented Interfaces:
Event
public class IceComponentStateChangedEvent extends MediaEvent
Event fired when and ICE component state changes. See :rom:cls:`IceComponentState` for a list of possible states.
-
-
Constructor Summary
Constructors Constructor Description IceComponentStateChangedEvent(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getComponentId()
Getter for the componentId propertyIceComponentState
getState()
Getter for the state propertyint
getStreamId()
Getter for the streamId propertyvoid
setComponentId(int componentId)
Setter for the componentId propertyvoid
setState(IceComponentState state)
Setter for the state propertyvoid
setStreamId(int streamId)
Setter for the streamId property-
Methods inherited from class org.kurento.client.MediaEvent
getType, setType
-
Methods inherited from class org.kurento.client.RaiseBaseEvent
getSource, getTags, getTimestampMillis, setSource, setTags, setTimestampMillis
-
-
-
-
Constructor Detail
-
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 Detail
-
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
public IceComponentState getState()
Getter for the state property- Returns:
- The state of the component *
-
setState
public void setState(IceComponentState state)
Setter for the state property- Parameters:
state
- The state of the component
-
-