Package org.kurento.client
Class ErrorEvent
- java.lang.Object
-
- org.kurento.client.RaiseBaseEvent
-
- org.kurento.client.ErrorEvent
-
- All Implemented Interfaces:
Event
public class ErrorEvent extends RaiseBaseEvent
Fired whenever an undefined error related to the MediaObject has occurred
-
-
Constructor Summary
Constructors Constructor Description 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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Getter for the description propertyint
getErrorCode()
Getter for the errorCode propertyString
getType()
Getter for the type propertyvoid
setDescription(String description)
Setter for the description propertyvoid
setErrorCode(int errorCode)
Setter for the errorCode propertyvoid
setType(String type)
Setter for the type property-
Methods inherited from class org.kurento.client.RaiseBaseEvent
getSource, getTags, getTimestampMillis, setSource, setTags, setTimestampMillis
-
-
-
-
Constructor Detail
-
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 Detail
-
getDescription
public String getDescription()
Getter for the description property- Returns:
- Textual description of the error *
-
setDescription
public void setDescription(String description)
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
public String getType()
Getter for the type property- Returns:
- Integer code as a String *
-
setType
public void setType(String type)
Setter for the type property- Parameters:
type
- Integer code as a String
-
-