|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
public interface Entity
| メソッドの概要 | |
|---|---|
EntityContainer |
getContainer()
所属するEntityContainerの取得 |
java.lang.String |
getDescription()
|
EntityType |
getEntityType()
EntityTypeの取得 |
Location |
getLocation()
|
float |
getPriority()
|
java.lang.String |
getTupleId()
|
boolean |
isAlive()
そのEntityが削除対象かどうか。 |
boolean |
sendBye(EntityListener target)
BYEメッセージの送信 |
void |
sendMessage(java.lang.String msg)
メッセージを全てのリスナに対して配信 |
void |
sendMessage(java.lang.String msg,
EntityListener target)
ターゲットを指定してメッセージの送信 |
void |
sendMessage(java.lang.String msg,
java.lang.String targetName)
ターゲットを指定してメッセージの送信 |
boolean |
sendOffer(Entity target)
SDPを指定せずにリクエスト、相手のSDPによるフォーマットの指定に従う。 |
boolean |
sendOffer(net.sourceforge.jsdp.SessionDescription sdp,
Entity target)
SDPを指定してセッションのリクエスト |
void |
setAlive(boolean b)
そのEntityが削除対象かどうかの設定。 |
void |
setEntityType(EntityType type)
|
void |
setLocal(boolean a)
|
void |
setLocation(Location location)
|
void |
setPriority(float priority)
|
void |
setTupleId(java.lang.String id)
|
| インタフェース 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 |
| メソッドの詳細 |
|---|
boolean sendOffer(net.sourceforge.jsdp.SessionDescription sdp,
Entity target)
sdp - target -
boolean sendOffer(Entity target)
target -
void sendMessage(java.lang.String msg)
msg -
void sendMessage(java.lang.String msg,
java.lang.String targetName)
msg - targetName -
void sendMessage(java.lang.String msg,
EntityListener target)
msg - targetName - boolean sendBye(EntityListener target)
target -
EntityType getEntityType()
void setEntityType(EntityType type)
type - EntityContainer getContainer()
void setTupleId(java.lang.String id)
id - java.lang.String getTupleId()
void setPriority(float priority)
priority - float getPriority()
java.lang.String getDescription()
void setLocal(boolean a)
a - Location getLocation()
void setLocation(Location location)
location - void setAlive(boolean b)
b - boolean isAlive()
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||