Package joynr.system.RoutingTypes
Class UdsAddress
- java.lang.Object
-
- joynr.system.RoutingTypes.Address
-
- joynr.system.RoutingTypes.LocalAddress
-
- joynr.system.RoutingTypes.UdsAddress
-
- All Implemented Interfaces:
JoynrType,Serializable
public class UdsAddress extends LocalAddress implements Serializable, JoynrType
Unix domain socket server address- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intMAJOR_VERSIONstatic intMINOR_VERSION
-
Constructor Summary
Constructors Constructor Description UdsAddress()Default ConstructorUdsAddress(String path)Parameterized constructorUdsAddress(UdsAddress udsAddressObj)Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Check for equalityStringgetPath()Gets PathinthashCode()Calculate code for hashing based on member contentsvoidsetPath(String path)Sets PathStringtoString()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
-
UdsAddress
public UdsAddress()
Default Constructor
-
UdsAddress
public UdsAddress(UdsAddress udsAddressObj)
Copy constructor- Parameters:
udsAddressObj- reference to the object to be copied
-
UdsAddress
public UdsAddress(String path)
Parameterized constructor- Parameters:
path- Unix domain socket server path
-
-
Method Detail
-
getPath
public String getPath()
Gets Path- Returns:
- Unix domain socket server path
-
setPath
public void setPath(String path)
Sets Path- Parameters:
path- Unix domain socket server path
-
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
-
-