|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.server.net.rtmp.status.Status
public class Status
Represents status object that are transferred between server and client
| Field Summary | |
|---|---|
protected int |
clientid
Id of client |
protected String |
code
Status code |
protected String |
description
Status event description |
protected String |
details
Status event details |
static String |
ERROR
Error constant |
protected String |
level
Status level |
static String |
STATUS
Status constant |
static String |
WARNING
Warning constant |
| Constructor Summary | |
|---|---|
Status()
Constructs a new Status. |
|
Status(String code)
Creates status object with given status code |
|
Status(String code,
String level,
String description)
Creates status object with given level, description and status code |
|
| Method Summary | |
|---|---|
int |
getClientid()
Getter for client id |
String |
getCode()
Getter for status code. |
String |
getDescription()
Getter for description. |
String |
getDetails()
Getter for details |
String |
getLevel()
Getter for level. |
void |
readExternal(ObjectInput in)
|
void |
serialize(Output output,
Serializer serializer)
Serialize this object to the given output stream. |
void |
setClientid(int clientid)
Setter for client id |
void |
setCode(String code)
Setter for code |
void |
setDesciption(String description)
Setter for desciption. |
void |
setDescription(String description)
Setter for description. |
void |
setDetails(String details)
Setter for details. |
void |
setLevel(String level)
Setter for 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 String details
protected int clientid
| Constructor Detail |
|---|
public Status()
public Status(String code)
code - Status code
public Status(String code,
String level,
String description)
code - Status codelevel - Leveldescription - Description| Method Detail |
|---|
public String getCode()
public void setCode(String code)
code - Status codepublic String getDescription()
public void setDesciption(String description)
description - Status event description.public String getLevel()
public void setLevel(String level)
level - Levelpublic int getClientid()
public void setClientid(int clientid)
clientid - Client idpublic String getDetails()
public void setDetails(String details)
details - Status event detailspublic void setDescription(String description)
description - Status event descriptionpublic String toString()
toString in class Object
public void serialize(Output output,
Serializer serializer)
ICustomSerializable
serialize in interface ICustomSerializableoutput - outputserializer - serializer
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||