Class DataChannelClosedEvent
java.lang.Object
org.kurento.client.RaiseBaseEvent
org.kurento.client.MediaEvent
org.kurento.client.DataChannelClosedEvent
- All Implemented Interfaces:
Event
Event fired when a data channel is closed.
-
Constructor Summary
ConstructorsConstructorDescriptionDataChannelClosedEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, int channelId) Event fired when a data channel is closed. -
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
-
DataChannelClosedEvent
public DataChannelClosedEvent(MediaObject source, String timestampMillis, List<Tag> tags, String type, int channelId) Event fired when a data channel is closed.- 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
-