Package org.kurento.client
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
ConstructorDescriptionDataChannelClosedEvent
(MediaObject source, String timestampMillis, List<Tag> tags, String type, int channelId) Event fired when a data channel is closed. -
Method Summary
Modifier and TypeMethodDescriptionint
Getter for the channelId propertyvoid
setChannelId
(int channelId) Setter for the channelId propertyMethods inherited from class org.kurento.client.MediaEvent
getType, setType
Methods inherited from class org.kurento.client.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
-