Interface DiameterCommand


  • public interface DiameterCommand
    Diameter 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
      int getApplicationId()
      Return the application ID for this command, e.g., 0
      int getCode()
      Return the code for this command, e.g., 257.
      String getLongName()
      Return the long name for this command, e.g., "Capabilities-Exchange-Request".
      String getShortName()
      Return the short name for this command, e.g., "CER".
      boolean isProxiable()
      Return true if and only if this command may be proxied.
      boolean isRequest()
      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