Class DataChannelOpenedEvent
java.lang.Object
org.kurento.client.RaiseBaseEvent
org.kurento.client.MediaEvent
org.kurento.client.DataChannelOpenedEvent
- All Implemented Interfaces:
Event
Event fired when a new data channel is created.
-
Constructor Summary
ConstructorsConstructorDescriptionDataChannelOpenedEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, int channelId) Event fired when a new data channel is created. -
Method Summary
Modifier and TypeMethodDescriptionintGetter for the channelId propertyvoidsetChannelId(int channelId) Setter for the channelId propertyMethods inherited from class MediaEvent
getType, setTypeMethods inherited from class RaiseBaseEvent
getSource, getTags, getTimestampMillis, setSource, setTags, setTimestampMillis
-
Constructor Details
-
DataChannelOpenedEvent
public DataChannelOpenedEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, int channelId) Event fired when a new data channel is created.- 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 raisedchannelId- The channel identifier
-
-
Method Details
-
getChannelId
public int getChannelId()Getter for the channelId property- Returns:
- The channel identifier *
-
setChannelId
public void setChannelId(int channelId) Setter for the channelId property- Parameters:
channelId- The channel identifier
-