org.siprop.ua.impl
クラス UARouterImpl

java.lang.Object
  上位を拡張 org.siprop.ua.impl.UARouterImpl
すべての実装されたインタフェース:
Router, UARouter

public class UARouterImpl
extends java.lang.Object
implements UARouter

UARouterの実装クラス
SIPのみを捌く

作成者:
noritsuna

コンストラクタの概要
UARouterImpl(Repository repository)
          コンストラクタ
 
メソッドの概要
 void addRoute(Router router)
          Routerを追加する。
 void doDispatch(MessageContext message)
          外部からディスパッチされるメソッド
 void doRoute(MessageContext message)
          Routingを実行する。
 Repository getRepository()
          Repositoryを取得する。
 java.lang.String getRoutingKey()
          RoutingKeyを取得する。
 void removeRoute(Router router)
          Routerを削除する。
 void setRepository(Repository repository)
          Repositoryをセットする。
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

UARouterImpl

public UARouterImpl(Repository repository)
コンストラクタ

パラメータ:
repository -
メソッドの詳細

doDispatch

public void doDispatch(MessageContext message)
外部からディスパッチされるメソッド

定義:
インタフェース Router 内の doDispatch
パラメータ:
message -

addRoute

public void addRoute(Router router)
Routerを追加する。

定義:
インタフェース Router 内の addRoute
パラメータ:
router -

removeRoute

public void removeRoute(Router router)
Routerを削除する。

定義:
インタフェース Router 内の removeRoute
パラメータ:
router -

doRoute

public void doRoute(MessageContext message)
Routingを実行する。

定義:
インタフェース Router 内の doRoute
パラメータ:
message -

getRoutingKey

public java.lang.String getRoutingKey()
RoutingKeyを取得する。

定義:
インタフェース UARouter 内の getRoutingKey
戻り値:
UAの種類

setRepository

public void setRepository(Repository repository)
Repositoryをセットする。

定義:
インタフェース Router 内の setRepository
パラメータ:
repository -

getRepository

public Repository getRepository()
Repositoryを取得する。

定義:
インタフェース Router 内の getRepository
戻り値: