public class Mirror extends Packet
Modifier and Type | Field and Description |
---|---|
boolean |
accessControl |
static android.os.Parcelable.Creator<Mirror> |
CREATOR |
DeviceId |
deviceId |
MacAddress |
macAddress |
int |
measuredPower |
int |
rssi |
packetType
Constructor and Description |
---|
Mirror(DeviceId deviceId,
MacAddress macAddress,
int rssi,
int measuredPower,
boolean accessControl) |
Mirror(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getUniqueKey()
Returns unique key for this packet to identify it between other
Packet objects. |
int |
hashCode() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getPacketType
public final DeviceId deviceId
public final MacAddress macAddress
public final int rssi
public final int measuredPower
public final boolean accessControl
public static final android.os.Parcelable.Creator<Mirror> CREATOR
public Mirror(DeviceId deviceId, MacAddress macAddress, int rssi, int measuredPower, boolean accessControl)
public Mirror(android.os.Parcel in)
public java.lang.String getUniqueKey()
Packet
Packet
objects.
Child classes should implement this method.getUniqueKey
in class Packet
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int describeContents()
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class Packet
public java.lang.String toString()
toString
in class java.lang.Object