|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.net.rtmp.status.StatusObject
public class StatusObject
Status object that is sent to client with every status event
Field Summary | |
---|---|
protected Map<String,Object> |
additional
|
protected Object |
application
|
protected String |
code
|
protected String |
description
|
static String |
ERROR
|
protected String |
level
|
static String |
STATUS
|
static String |
WARNING
|
Constructor Summary | |
---|---|
StatusObject()
Constructs a new StatusObject. |
|
StatusObject(String code,
String level,
String description)
|
Method Summary | |
---|---|
Status |
asStatus()
Generate Status object that can be returned through a RTMP channel. |
Object |
getApplication()
Getter for property 'application'. |
String |
getCode()
Getter for property 'code'. |
String |
getDescription()
Getter for property 'description'. |
String |
getLevel()
Getter for property 'level'. |
void |
readExternal(ObjectInput in)
|
void |
serialize(Output output,
Serializer serializer)
Serialize this object to the given output stream. |
void |
setAdditional(String name,
Object value)
|
void |
setApplication(Object application)
Setter for property 'application'. |
void |
setCode(String code)
Setter for property 'code'. |
void |
setDescription(String description)
Setter for property 'description'. |
void |
setLevel(String level)
Setter for property 'level'. |
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String ERROR
public static final String STATUS
public static final String WARNING
protected String code
protected String level
protected String description
protected Object application
protected Map<String,Object> additional
Constructor Detail |
---|
public StatusObject()
public StatusObject(String code, String level, String description)
Method Detail |
---|
public String getCode()
public void setCode(String code)
code
- Value to set for property 'code'.public String getDescription()
public void setDescription(String description)
description
- Value to set for property 'description'.public String getLevel()
public void setLevel(String level)
level
- Value to set for property 'level'.public void setApplication(Object application)
application
- Value to set for property 'application'.public Object getApplication()
public String toString()
toString
in class Object
public Status asStatus()
public void setAdditional(String name, Object value)
public void serialize(Output output, Serializer serializer)
ICustomSerializable
serialize
in interface ICustomSerializable
output
- outputserializer
- serializerpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |