Package joynr.system.RoutingTypes
Class WebSocketClientAddress
- java.lang.Object
-
- joynr.system.RoutingTypes.Address
-
- joynr.system.RoutingTypes.LocalAddress
-
- joynr.system.RoutingTypes.WebSocketClientAddress
-
- All Implemented Interfaces:
JoynrType,Serializable
public class WebSocketClientAddress extends LocalAddress implements Serializable, JoynrType
Websocket client address- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intMAJOR_VERSIONstatic intMINOR_VERSION
-
Constructor Summary
Constructors Constructor Description WebSocketClientAddress()Default ConstructorWebSocketClientAddress(String id)Parameterized constructorWebSocketClientAddress(WebSocketClientAddress webSocketClientAddressObj)Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Check for equalityStringgetId()Gets IdinthashCode()Calculate code for hashing based on member contentsvoidsetId(String id)Sets IdStringtoString()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
-
WebSocketClientAddress
public WebSocketClientAddress()
Default Constructor
-
WebSocketClientAddress
public WebSocketClientAddress(WebSocketClientAddress webSocketClientAddressObj)
Copy constructor- Parameters:
webSocketClientAddressObj- reference to the object to be copied
-
WebSocketClientAddress
public WebSocketClientAddress(String id)
Parameterized constructor- Parameters:
id- Websocket client ID
-
-
Method Detail
-
getId
public String getId()
Gets Id- Returns:
- Websocket client ID
-
setId
public void setId(String id)
Sets Id- Parameters:
id- Websocket client 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
-
-