Package joynr.system.RoutingTypes
Class BinderAddress
- java.lang.Object
-
- joynr.system.RoutingTypes.Address
-
- joynr.system.RoutingTypes.LocalAddress
-
- joynr.system.RoutingTypes.BinderAddress
-
- All Implemented Interfaces:
JoynrType,Serializable
public class BinderAddress extends LocalAddress implements Serializable, JoynrType
BinderAddress client address- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intMAJOR_VERSIONstatic intMINOR_VERSION
-
Constructor Summary
Constructors Constructor Description BinderAddress()Default ConstructorBinderAddress(String packageName, Integer userId)Parameterized constructorBinderAddress(BinderAddress binderAddressObj)Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Check for equalityStringgetPackageName()Gets PackageNameIntegergetUserId()Gets UserIdinthashCode()Calculate code for hashing based on member contentsvoidsetPackageName(String packageName)Sets PackageNamevoidsetUserId(Integer userId)Sets UserIdStringtoString()Stringifies the class
-
-
-
Field Detail
-
MAJOR_VERSION
public static final int MAJOR_VERSION
- See Also:
- Constant Field Values
-
MINOR_VERSION
public static final int MINOR_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BinderAddress
public BinderAddress()
Default Constructor
-
BinderAddress
public BinderAddress(BinderAddress binderAddressObj)
Copy constructor- Parameters:
binderAddressObj- reference to the object to be copied
-
-
Method Detail
-
getPackageName
public String getPackageName()
Gets PackageName- Returns:
- BinderAddress package name
-
setPackageName
public void setPackageName(String packageName)
Sets PackageName- Parameters:
packageName- BinderAddress package name
-
getUserId
public Integer getUserId()
Gets UserId- Returns:
- BinderAddress process user ID
-
setUserId
public void setUserId(Integer userId)
Sets UserId- Parameters:
userId- BinderAddress process user ID
-
toString
public String toString()
Stringifies the class- Overrides:
toStringin classLocalAddress- Returns:
- stringified class content
-
equals
public boolean equals(Object obj)
Check for equality- Overrides:
equalsin classLocalAddress- Parameters:
obj- Reference to the object to compare to- Returns:
- true, if objects are equal, false otherwise
-
hashCode
public int hashCode()
Calculate code for hashing based on member contents- Overrides:
hashCodein classLocalAddress- Returns:
- The calculated hash code
-
-