public final class SapaPortConnection
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static int |
API_LEVEL
api level
|
static android.os.Parcelable.Creator<SapaPortConnection> |
CREATOR |
Constructor and Description |
---|
SapaPortConnection(SapaPort sourcePort,
SapaPort destinationPort)
Creates a PortConnection instance.
|
SapaPortConnection(java.lang.String sourcePortName,
java.lang.String destinationPortName)
Creates a PortConnection instance.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object obj) |
SapaPort |
getDestinationPort()
Get the destination port
|
java.lang.String |
getDestinationPortName()
Get the destination port full name
|
SapaPort |
getSourcePort()
Get the source port
|
java.lang.String |
getSourcePortName()
Get the source port full name
|
int |
hashCode() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final int API_LEVEL
public static final android.os.Parcelable.Creator<SapaPortConnection> CREATOR
public SapaPortConnection(java.lang.String sourcePortName, java.lang.String destinationPortName)
sourcePortName
- the source port namedestinationPortName
- the destination port namepublic java.lang.String getSourcePortName()
public SapaPort getSourcePort()
public java.lang.String getDestinationPortName()
public SapaPort getDestinationPort()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The PortConnection object to compare.public int hashCode()
hashCode
in class java.lang.Object
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
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_WRITE_RETURN_VALUE.