org.echarts.servlet.sip.appRouter.DFCRouterImpl
Class Application

java.lang.Object
  extended by org.echarts.servlet.sip.appRouter.DFCRouterImpl.Application

public class Application
extends java.lang.Object

Represents the DFC abstract notion of an application. For the DFC router implementation, an application is really just an identifier represented as a String. When the router determines that a particular application should be invoked to handle a SIP request, it returns this identifier to the container (or JSR 116 adaptation layer) and the container has responsibility for matching this identifier with the corresponding SIP servlet application and invoking the appropriate SIP servlet.

Author:
khp

Constructor Summary
Application(java.lang.String name)
          Build an application from an application name represented as a String
 
Method Summary
 boolean equals(java.lang.Object o)
          Determine if two application objects are equal.
 java.lang.String getName()
          Get the name of the application
 void setName(java.lang.String name)
          Set the name of the application
 java.lang.String toString()
          Get the string representation of the application.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Application

public Application(java.lang.String name)
Build an application from an application name represented as a String

Parameters:
name - the application name
Method Detail

getName

public java.lang.String getName()
Get the name of the application


setName

public void setName(java.lang.String name)
Set the name of the application

Parameters:
name - the name the application is set to

toString

public java.lang.String toString()
Get the string representation of the application.

Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Determine if two application objects are equal.

Overrides:
equals in class java.lang.Object