Interface DiameterCommand
-
public interface DiameterCommandDiameter command. Applications can use this interface to retrieve the code, short name, long name and request flag of a command.- Author:
- Open Cloud
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetApplicationId()Return the application ID for this command, e.g., 0intgetCode()Return the code for this command, e.g., 257.StringgetLongName()Return the long name for this command, e.g., "Capabilities-Exchange-Request".StringgetShortName()Return the short name for this command, e.g., "CER".booleanisProxiable()Return true if and only if this command may be proxied.booleanisRequest()Return true if and only if this command is a request.
-
-
-
Method Detail
-
getCode
int getCode()
Return the code for this command, e.g., 257.- Returns:
- the code for this command
-
getApplicationId
int getApplicationId()
Return the application ID for this command, e.g., 0- Returns:
- the application ID for this command
-
getShortName
String getShortName()
Return the short name for this command, e.g., "CER".- Returns:
- the short name for this command
-
getLongName
String getLongName()
Return the long name for this command, e.g., "Capabilities-Exchange-Request".- Returns:
- the long name for this command
-
isRequest
boolean isRequest()
Return true if and only if this command is a request.- Returns:
- true if and only if this command is a request
-
isProxiable
boolean isProxiable()
Return true if and only if this command may be proxied.- Returns:
- true if and only if this command may be proxied
-
-