org.kurento.client.IceComponentStateChangeEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kurento-client Show documentation
Show all versions of kurento-client Show documentation
Kurento Client
The Kurento Client project allows server applications to control media server resources.
/**
* This file is generated with Kurento ktool-rom-processor.
* Please don't edit. Changes should go to kms-interface-rom and
* ktool-rom-processor templates.
*/
package org.kurento.client;
/**
*
* Event fired when and ICE component state changes.
* See :rom:cls:`IceComponentState` for a list of possible states.
*
*
**/
public class IceComponentStateChangeEvent extends MediaEvent {
/**
*
* The ID of the stream
*
**/
private int streamId;
/**
*
* The ID of the component
*
**/
private int componentId;
/**
*
* The state of the component
*
**/
private org.kurento.client.IceComponentState state;
/**
*
* Event fired when and ICE component state changes.
* See :rom:cls:`IceComponentState` for a list of possible states.
*
*
* @param source
* Object that raised the event
* @param timestamp
* [DEPRECATED: Use timestampMillis] The timestamp associated with this object: Seconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
* @param timestampMillis
* The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
* @param tags
*
* @param type
* Type of event that was raised
* @param streamId
* The ID of the stream
* @param componentId
* The ID of the component
* @param state
* The state of the component
*
**/
public IceComponentStateChangeEvent(@org.kurento.client.internal.server.Param("source") org.kurento.client.MediaObject source, @org.kurento.client.internal.server.Param("timestamp") String timestamp, @org.kurento.client.internal.server.Param("timestampMillis") String timestampMillis, @org.kurento.client.internal.server.Param("tags") java.util.List tags, @org.kurento.client.internal.server.Param("type") String type, @org.kurento.client.internal.server.Param("streamId") int streamId, @org.kurento.client.internal.server.Param("componentId") int componentId, @org.kurento.client.internal.server.Param("state") org.kurento.client.IceComponentState state) {
super(source, timestamp, timestampMillis, tags, type);
this.streamId = streamId;
this.componentId = componentId;
this.state = state;
}
/**
*
* Getter for the streamId property
* @return The ID of the stream *
**/
public int getStreamId() {
return streamId;
}
/**
*
* Setter for the streamId property
*
* @param streamId
* The ID of the stream
*
**/
public void setStreamId(int streamId) {
this.streamId = streamId;
}
/**
*
* Getter for the componentId property
* @return The ID of the component *
**/
public int getComponentId() {
return componentId;
}
/**
*
* Setter for the componentId property
*
* @param componentId
* The ID of the component
*
**/
public void setComponentId(int componentId) {
this.componentId = componentId;
}
/**
*
* Getter for the state property
* @return The state of the component *
**/
public org.kurento.client.IceComponentState getState() {
return state;
}
/**
*
* Setter for the state property
*
* @param state
* The state of the component
*
**/
public void setState(org.kurento.client.IceComponentState state) {
this.state = state;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy