Class ErrorEvent
java.lang.Object
org.kurento.client.RaiseBaseEvent
org.kurento.client.ErrorEvent
- All Implemented Interfaces:
Event
Fired whenever an undefined error related to the MediaObject has occurred
-
Constructor Summary
ConstructorsConstructorDescriptionErrorEvent(MediaObject source, String timestampMillis, List<Tag> tags, String description, int errorCode, String type) Fired whenever an undefined error related to the MediaObject has occurred -
Method Summary
Modifier and TypeMethodDescriptionGetter for the description propertyintGetter for the errorCode propertygetType()Getter for the type propertyvoidsetDescription(String description) Setter for the description propertyvoidsetErrorCode(int errorCode) Setter for the errorCode propertyvoidSetter for the type propertyMethods inherited from class RaiseBaseEvent
getSource, getTags, getTimestampMillis, setSource, setTags, setTimestampMillis
-
Constructor Details
-
ErrorEvent
public ErrorEvent(MediaObject source, String timestampMillis, List<Tag> tags, String description, int errorCode, String type) Fired whenever an undefined error related to the MediaObject has occurred- Parameters:
source- Object that raised the eventtimestampMillis- The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).tags-description- Textual description of the errorerrorCode- Server side integer error codetype- Integer code as a String
-
-
Method Details
-
getDescription
Getter for the description property- Returns:
- Textual description of the error *
-
setDescription
Setter for the description property- Parameters:
description- Textual description of the error
-
getErrorCode
public int getErrorCode()Getter for the errorCode property- Returns:
- Server side integer error code *
-
setErrorCode
public void setErrorCode(int errorCode) Setter for the errorCode property- Parameters:
errorCode- Server side integer error code
-
getType
-
setType
Setter for the type property- Parameters:
type- Integer code as a String
-