org.kurento.client.ErrorEvent 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;
/**
*
* Fired whenever an undefined error related to the MediaObject has occurred
*
**/
public class ErrorEvent extends RaiseBaseEvent {
/**
*
* Textual description of the error
*
**/
private String description;
/**
*
* Server side integer error code
*
**/
private int errorCode;
/**
*
* Integer code as a String
*
**/
private String type;
/**
*
* Fired whenever an undefined error related to the MediaObject has occurred
*
* @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 description
* Textual description of the error
* @param errorCode
* Server side integer error code
* @param type
* Integer code as a String
*
**/
public ErrorEvent(@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("description") String description, @org.kurento.client.internal.server.Param("errorCode") int errorCode, @org.kurento.client.internal.server.Param("type") String type) {
super(source, timestamp, timestampMillis, tags);
this.description = description;
this.errorCode = errorCode;
this.type = type;
}
/**
*
* Getter for the description property
* @return Textual description of the error *
**/
public String getDescription() {
return description;
}
/**
*
* Setter for the description property
*
* @param description
* Textual description of the error
*
**/
public void setDescription(String description) {
this.description = description;
}
/**
*
* Getter for the errorCode property
* @return Server side integer error code *
**/
public int getErrorCode() {
return errorCode;
}
/**
*
* Setter for the errorCode property
*
* @param errorCode
* Server side integer error code
*
**/
public void setErrorCode(int errorCode) {
this.errorCode = errorCode;
}
/**
*
* Getter for the type property
* @return Integer code as a String *
**/
public String getType() {
return type;
}
/**
*
* Setter for the type property
*
* @param type
* Integer code as a String
*
**/
public void setType(String type) {
this.type = type;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy