|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sharpster.common.Response
A Reponse containing information about the users which are available on the network.
Constructor Summary | |
Response()
|
Method Summary | |
java.lang.String |
getOrigin()
Returns the name of the module which has created this response. |
abstract int |
getType()
Get the type of this response. |
java.lang.String |
getUser()
Returns the user from whose deamon the response were created. |
boolean |
isError()
Get the error status of this response object. |
void |
setError(boolean error)
Sets the error status of this response object. |
void |
setOrigin(java.lang.String origin)
Set the name of the module which has created this response. |
void |
setUser(java.lang.String user)
Sets the user from whose deamon the response were created. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Response()
Method Detail |
public abstract int getType()
public void setError(boolean error)
error
- Error status to setpublic boolean isError()
public void setOrigin(java.lang.String origin)
origin
- A string identifying the origin.public java.lang.String getOrigin()
public void setUser(java.lang.String user)
user
- A String identifying the userpublic java.lang.String getUser()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |