net.java.slee.resource.diameter.base.events
Interface DiameterCommand

All Known Implementing Classes:
DiameterCommandImpl

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
 long getApplicationId()
          Return the application ID for this command, e.g., 0
 int getCode()
          Return the code for this command, e.g., 257.
 java.lang.String getLongName()
          Return the long name for this command, e.g., "Capabilities-Exchange-Request".
 java.lang.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

long getApplicationId()
Return the application ID for this command, e.g., 0

Returns:
the application ID for this command

getShortName

java.lang.String getShortName()
Return the short name for this command, e.g., "CER".

Returns:
the short name for this command

getLongName

java.lang.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


Copyright © 2008. All Rights Reserved.