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

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

public class GetDetailsResult
extends Result


Constructor Summary
GetDetailsResult(StatusCode statusCode)
          Called only when the result is unsuccessful.
GetDetailsResult(java.lang.String ip, int port, java.lang.String motd, java.lang.String version)
          Showing the result was successful, passing the data to accompany the result.
 
Method Summary
 java.lang.String getIp()
          Uniform ip address decided by the network deriving from a single proxy.
 java.lang.String getMotd()
          Uniform motd decided by the network deriving from a single proxy.
 int getPort()
          Uniform port number decided by the network deriving from a single proxy.
 java.lang.String getVersion()
          Uniform version decided by the network deriving from a single proxy.
 
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

GetDetailsResult

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

Parameters:
statusCode - of the result

GetDetailsResult

public GetDetailsResult(java.lang.String ip,
                        int port,
                        java.lang.String motd,
                        java.lang.String version)
Showing the result was successful, passing the data to accompany the result.

Parameters:
ip - of the result
port - of the result
motd - of the result
version - of the result
Method Detail

getIp

public java.lang.String getIp()
Uniform ip address decided by the network deriving from a single proxy. There is no guarantee which proxy this ip address derives from.

Returns:
ip address

getPort

public int getPort()
Uniform port number decided by the network deriving from a single proxy. There is no guarantee which proxy this port number derives from.

Returns:
port number

getMotd

public java.lang.String getMotd()
Uniform motd decided by the network deriving from a single proxy. There is no guarantee which proxy this motd derives from.

Returns:
motd

getVersion

public java.lang.String getVersion()
Uniform version decided by the network deriving from a single proxy. There is no guarantee which proxy this version derives from.

Returns:
motd