lilypad.client.connect.api.result.impl
Class GetWhoamiResult

java.lang.Object
  extended by lilypad.client.connect.api.result.Result
      extended by lilypad.client.connect.api.result.impl.GetWhoamiResult

public class GetWhoamiResult
extends Result


Constructor Summary
GetWhoamiResult(StatusCode statusCode)
          Called only when the result is unsuccessful.
GetWhoamiResult(java.lang.String identification)
          Showing the result was successful, passing the data to accompany the result.
 
Method Summary
 java.lang.String getIdentification()
          The network will identify you differently based on your state.
 
Methods inherited from class lilypad.client.connect.api.result.Result
getStatusCode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetWhoamiResult

public GetWhoamiResult(StatusCode statusCode)
Called only when the result is unsuccessful.

Parameters:
statusCode - of the result

GetWhoamiResult

public GetWhoamiResult(java.lang.String identification)
Showing the result was successful, passing the data to accompany the result.

Parameters:
identification -
Method Detail

getIdentification

public java.lang.String getIdentification()
The network will identify you differently based on your state. If you are unauthenticated, your identification will be blank, while if you are authenticated, your identification will be [username].[uniqueInt], and if you are either a server or a proxy, your identification will simply be [username].

Returns:
identification by the network