Class RhinoDiameterURI
- java.lang.Object
-
- org.jainslee.resources.diameter.base.types.RhinoDiameterURI
-
public class RhinoDiameterURI extends Object
Represents an internal Diameter URI for routing messages between Rhino nodes.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLUSTER_ID_PARAMETER
static String
NODE_ID_PARAMETER
-
Constructor Summary
Constructors Constructor Description RhinoDiameterURI(String hostname)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static RhinoDiameterURI
fromString(String uri)
int
getClusterId()
int
getNodeId()
String
getParameter(String name)
int
hashCode()
void
removeParameter(String name)
void
setParameter(String name, String value)
DiameterURI
toDiameterURI()
String
toString()
-
-
-
Field Detail
-
NODE_ID_PARAMETER
public static final String NODE_ID_PARAMETER
- See Also:
- Constant Field Values
-
CLUSTER_ID_PARAMETER
public static final String CLUSTER_ID_PARAMETER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RhinoDiameterURI
public RhinoDiameterURI(String hostname)
-
-
Method Detail
-
toDiameterURI
public DiameterURI toDiameterURI() throws URISyntaxException
- Throws:
URISyntaxException
-
removeParameter
public void removeParameter(String name)
-
getClusterId
public int getClusterId()
-
getNodeId
public int getNodeId()
-
fromString
public static RhinoDiameterURI fromString(String uri) throws URISyntaxException
- Throws:
URISyntaxException
-
-