sharpster.common
Class ExistingUserResponse
java.lang.Object
|
+--sharpster.common.Response
|
+--sharpster.common.ExistingUserResponse
- All Implemented Interfaces:
- java.io.Serializable
- public class ExistingUserResponse
- extends Response
- implements java.io.Serializable
A response containing information about the users which are
available on the network.
- See Also:
- Serialized Form
Method Summary |
void |
addExistingUsers(java.lang.String user)
Sets the users which are available on the network. |
java.lang.String[] |
getExistingUsers()
Returns the users which are available on the network. |
int |
getType()
Returns the type of this response. |
void |
setExistingUsers(java.lang.String[] users)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExistingUserResponse
public ExistingUserResponse()
getType
public int getType()
- Returns the type of this response.
- Specified by:
getType
in class Response
getExistingUsers
public java.lang.String[] getExistingUsers()
- Returns the users which are available on the network.
- Returns:
- An array containing existing users.
addExistingUsers
public void addExistingUsers(java.lang.String user)
- Sets the users which are available on the network.
setExistingUsers
public void setExistingUsers(java.lang.String[] users)
toString
public java.lang.String toString()
- Overrides:
toString
in class Response