Package joynr.system.RoutingTypes
Class ChannelAddress
- java.lang.Object
-
- joynr.system.RoutingTypes.Address
-
- joynr.system.RoutingTypes.ChannelAddress
-
- All Implemented Interfaces:
JoynrType,Serializable
public class ChannelAddress extends Address implements Serializable, JoynrType
Channel Address- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intMAJOR_VERSIONstatic intMINOR_VERSION
-
Constructor Summary
Constructors Constructor Description ChannelAddress()Default ConstructorChannelAddress(String messagingEndpointUrl, String channelId)Parameterized constructorChannelAddress(ChannelAddress channelAddressObj)Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Check for equalityStringgetChannelId()Gets ChannelIdStringgetMessagingEndpointUrl()Gets MessagingEndpointUrlinthashCode()Calculate code for hashing based on member contentsvoidsetChannelId(String channelId)Sets ChannelIdvoidsetMessagingEndpointUrl(String messagingEndpointUrl)Sets MessagingEndpointUrlStringtoString()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
-
ChannelAddress
public ChannelAddress()
Default Constructor
-
ChannelAddress
public ChannelAddress(ChannelAddress channelAddressObj)
Copy constructor- Parameters:
channelAddressObj- reference to the object to be copied
-
-
Method Detail
-
getMessagingEndpointUrl
public String getMessagingEndpointUrl()
Gets MessagingEndpointUrl- Returns:
- Url of HTTP-based message receiver
-
setMessagingEndpointUrl
public void setMessagingEndpointUrl(String messagingEndpointUrl)
Sets MessagingEndpointUrl- Parameters:
messagingEndpointUrl- Url of HTTP-based message receiver
-
getChannelId
public String getChannelId()
Gets ChannelId- Returns:
- Channel identification
-
setChannelId
public void setChannelId(String channelId)
Sets ChannelId- Parameters:
channelId- Channel identification
-
toString
public String toString()
Stringifies the class
-
equals
public boolean equals(Object obj)
Check for equality
-
-