public class ConnectionStateChangedEvent extends MediaEvent
| Constructor and Description |
|---|
ConnectionStateChangedEvent(MediaObject source,
String timestamp,
List<Tag> tags,
String type,
ConnectionState oldState,
ConnectionState newState)
Indicates that the state of the connection has changed
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionState |
getNewState()
Getter for the newState property
|
ConnectionState |
getOldState()
Getter for the oldState property
|
void |
setNewState(ConnectionState newState)
Setter for the newState property
|
void |
setOldState(ConnectionState oldState)
Setter for the oldState property
|
getType, setTypegetSource, getTags, getTimestamp, setSource, setTags, setTimestamppublic ConnectionStateChangedEvent(MediaObject source, String timestamp, List<Tag> tags, String type, ConnectionState oldState, ConnectionState newState)
source - Object that raised the eventtimestamp - tags - type - Type of event that was raisedoldState - The previous statenewState - The new statepublic ConnectionState getOldState()
public void setOldState(ConnectionState oldState)
oldState - The previous statepublic ConnectionState getNewState()
public void setNewState(ConnectionState newState)
newState - The new stateCopyright © 2015 Kurento. All rights reserved.