Build 1.0_r1(from source)

android.net
Class DhcpInfo

java.lang.Object
  extended by android.net.DhcpInfo
All Implemented Interfaces:
Parcelable

public class DhcpInfo
extends Object
implements Parcelable

A simple object for retrieving the results of a DHCP request.


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.Creator<T>
 
Field Summary
static Parcelable.Creator<DhcpInfo> CREATOR
          Implement the Parcelable interface
 int dns1
           
 int dns2
           
 int gateway
           
 int ipAddress
           
 int leaseDuration
           
 int netmask
           
 int serverAddress
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
DhcpInfo()
           
 
Method Summary
 int describeContents()
          Implement the Parcelable interface
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 void writeToParcel(Parcel dest, int flags)
          Implement the Parcelable interface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ipAddress

public int ipAddress

gateway

public int gateway

netmask

public int netmask

dns1

public int dns1

dns2

public int dns2

serverAddress

public int serverAddress

leaseDuration

public int leaseDuration

CREATOR

public static final Parcelable.Creator<DhcpInfo> CREATOR
Implement the Parcelable interface

Constructor Detail

DhcpInfo

public DhcpInfo()
Method Detail

toString

public String toString()
Description copied from class: Object
Returns a string containing a concise, human-readable description of the receiver.

Overrides:
toString in class Object
Returns:
String a printable representation for the receiver.

describeContents

public int describeContents()
Implement the Parcelable interface

Specified by:
describeContents in interface Parcelable
Returns:
a bitmask indicating the set of special object types marshalled by the Parcelable.

writeToParcel

public void writeToParcel(Parcel dest,
                          int flags)
Implement the Parcelable interface

Specified by:
writeToParcel in interface Parcelable
Parameters:
dest - The Parcel in which the object should be written.
flags - Additional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature