jp.ac.naka.ec.entity
インタフェース EntityContainer

すべてのスーパーインタフェース:
Entity, EntityListener, java.util.EventListener, TreeNode
既知の実装クラスの一覧:
EntityContainerImpl

public interface EntityContainer
extends Entity

Entityを保持するコンテナ。保持しているEntityの参照の取得やイベント情報の配信を行う。

作成者:
Takashi Kasuya

メソッドの概要
 void addEntity(Entity e)
          保持するEntityの追加
 EntityContainer getContainer(java.lang.String uri)
          URIでコンテナを指定して参照を取得する
 java.util.Set<Entity> getEntities()
          保持しているEntityの取得
 java.util.Set<Entity> getEntitiesByLocation(java.lang.String location)
          任意の場所に存在するEntityへの参照のSetを返す
 Entity getEntity(java.lang.String name)
          保持しているEntityを名前を特定して取得
 java.util.Map getEntryTable()
          イベント配信のための参照テーブルの取得
 
インタフェース jp.ac.naka.ec.entity.Entity から継承されたメソッド
getContainer, getDescription, getEntityType, getLocation, getPriority, getTupleId, isAlive, sendBye, sendMessage, sendMessage, sendMessage, sendOffer, sendOffer, setAlive, setEntityType, setLocal, setLocation, setPriority, setTupleId
 
インタフェース jp.ac.naka.ec.TreeNode から継承されたメソッド
addChild, getChildNodes, getFullyQualifiedName, getName, getParent, hasChildNodes, hasParent, include, removeChild, setName, setParent
 
インタフェース jp.ac.naka.ec.entity.EntityListener から継承されたメソッド
addedNewEntity, getURI, isLocal, receiveAck, receiveAnswer, receiveBye, receiveMessage, receiveOffer, removedEntity, setURI
 

メソッドの詳細

addEntity

void addEntity(Entity e)
保持するEntityの追加

パラメータ:
e -

getEntities

java.util.Set<Entity> getEntities()
保持しているEntityの取得

戻り値:

getEntity

Entity getEntity(java.lang.String name)
保持しているEntityを名前を特定して取得

戻り値:

getEntitiesByLocation

java.util.Set<Entity> getEntitiesByLocation(java.lang.String location)
任意の場所に存在するEntityへの参照のSetを返す

パラメータ:
location -
戻り値:

getContainer

EntityContainer getContainer(java.lang.String uri)
URIでコンテナを指定して参照を取得する

パラメータ:
uri -
戻り値:
例外:
SipException

getEntryTable

java.util.Map getEntryTable()
イベント配信のための参照テーブルの取得