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

Constructor Summary
ExistingUserResponse()
           
 
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 sharpster.common.Response
getOrigin, getUser, isError, setError, setOrigin, setUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExistingUserResponse

public ExistingUserResponse()
Method Detail

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