|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.ac.naka.ec.entity.EntityImpl
public class EntityImpl
| コンストラクタの概要 | |
|---|---|
EntityImpl()
|
|
EntityImpl(SipURI uri)
|
|
EntityImpl(java.lang.String user,
java.lang.String host)
|
|
| メソッドの概要 | |
|---|---|
void |
addKeyword(java.lang.String str)
|
void |
addSensorData(SensorData data)
|
java.lang.String |
createPIDF()
|
static javax.sip.address.SipURI |
createSipURI(java.lang.String uri)
create a sip uri. |
static javax.sip.address.SipURI |
createSipURI(java.lang.String user,
java.lang.String host)
Create a SipURI |
boolean |
equals(java.lang.Object obj)
|
void |
expired(EntityEvent e)
外部EntityのSUBSCRIBEがExpired outしたとき |
SipURI |
getContactURI()
|
EntityContainer |
getContainer()
所属するEntityContainerの取得 |
java.lang.String |
getDescription()
|
EntityType |
getEntityType()
EntityTypeの取得 |
java.lang.String[] |
getKeywords()
|
Location |
getLocation()
|
java.lang.String |
getName()
|
SensorData[] |
getSensors()
|
SipURI |
getURI()
|
boolean |
isLocal()
ローカルにあるEntityかどうか。 |
static void |
main(java.lang.String[] args)
|
void |
receiveAck(EntityEvent e)
Ackリクエストを受けたときのコールバック |
void |
receiveAnswer(EntityEvent e)
Offerリクエストのレスポンスを受けたときのコールバック |
void |
receiveBye(EntityEvent e)
Byeリクエストを受けたときのコールバック |
void |
receiveErrorResponse(EntityEvent ee)
Errorレスポンスがきた場合のコールバック |
void |
receiveMessage(EntityEvent e)
メッセージが来た際のコールバック |
void |
receiveNotify(EntityEvent e)
|
SessionDescription |
receiveOffer(EntityEvent e)
セッションのオファーが来た際のコールバック |
void |
receiveSubscribe(EntityEvent e)
|
void |
register(EntityEvent e)
|
boolean |
removeKeyword(java.lang.String msg)
|
boolean |
removeSensorData(SensorData sensor)
|
boolean |
sendBye(Entity target)
BYEメッセージの送信 |
boolean |
sendMessage(java.lang.String msg)
メッセージを全てのリスナに対して配信 |
boolean |
sendMessage(java.lang.String msg,
Entity target)
ターゲットを指定してメッセージの送信 |
boolean |
sendOffer(Entity target)
SDPを指定せずにリクエスト、相手のSDPによるフォーマットの指定に従う。 |
boolean |
sendOffer(SessionDescription sdp,
Entity target)
SDPを指定してセッションのリクエスト |
void |
setContactURI(SipURI uri)
|
void |
setDescrpition(java.lang.String description)
|
void |
setEntityContainer(EntityContainer impl)
|
void |
setEntityType(EntityType type)
|
void |
setLocal(boolean b)
|
void |
setLocation(Location location)
|
void |
setName(java.lang.String name)
|
void |
setURI(SipURI uri)
|
boolean |
subscribe(Entity target)
SUBSCRIBE送信 |
java.lang.String |
toString()
|
boolean |
unsubscribe(Entity target)
|
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public EntityImpl()
public EntityImpl(SipURI uri)
public EntityImpl(java.lang.String user,
java.lang.String host)
throws java.text.ParseException
java.text.ParseException| メソッドの詳細 |
|---|
public java.lang.String getDescription()
Entity 内の getDescriptionpublic void setDescrpition(java.lang.String description)
Entity 内の setDescrpitiondescrpition - the descrpition to setpublic java.lang.String getName()
Entity 内の getNamepublic void setName(java.lang.String name)
Entity 内の setNamename - the name to setpublic SipURI getURI()
Entity 内の getURIpublic void setURI(SipURI uri)
Entity 内の setURIuri - the uri to setpublic EntityContainer getContainer()
Entity の記述:
Entity 内の getContainerpublic EntityType getEntityType()
Entity の記述:
Entity 内の getEntityTypepublic boolean sendBye(Entity target)
Entity の記述:
Entity 内の sendByepublic boolean sendMessage(java.lang.String msg)
Entity の記述:
Entity 内の sendMessage
public boolean sendMessage(java.lang.String msg,
Entity target)
Entity の記述:
Entity 内の sendMessage
public boolean sendOffer(SessionDescription sdp,
Entity target)
Entity の記述:
Entity 内の sendOfferpublic boolean sendOffer(Entity target)
Entity の記述:
Entity 内の sendOfferpublic void setEntityType(EntityType type)
Entity 内の setEntityTypepublic boolean isLocal()
Entity の記述:
Entity 内の isLocalpublic void receiveAck(EntityEvent e)
EntityListener の記述:
EntityListener 内の receiveAckpublic void receiveAnswer(EntityEvent e)
EntityListener の記述:
EntityListener 内の receiveAnswerpublic void receiveBye(EntityEvent e)
EntityListener の記述:
EntityListener 内の receiveByepublic void receiveMessage(EntityEvent e)
EntityListener の記述:
EntityListener 内の receiveMessagepublic SessionDescription receiveOffer(EntityEvent e)
EntityListener の記述:
EntityListener 内の receiveOfferpublic void register(EntityEvent e)
public void setLocal(boolean b)
Entity 内の setLocalpublic java.lang.String toString()
java.lang.Object 内の toString
public static javax.sip.address.SipURI createSipURI(java.lang.String uri)
throws java.text.ParseException
uri - -- the uri to parse.
java.text.ParseException
public static javax.sip.address.SipURI createSipURI(java.lang.String user,
java.lang.String host)
throws java.text.ParseException
user - -- the userhost - -- the host.
java.text.ParseExceptionpublic void addKeyword(java.lang.String str)
Entity 内の addKeywordpublic boolean removeKeyword(java.lang.String msg)
public java.lang.String[] getKeywords()
Entity 内の getKeywordspublic boolean equals(java.lang.Object obj)
java.lang.Object 内の equalspublic void setEntityContainer(EntityContainer impl)
Entity 内の setEntityContainerpublic boolean subscribe(Entity target)
Entity の記述:
Entity 内の subscribepublic Location getLocation()
Entity 内の getLocationpublic void setLocation(Location location)
Entity 内の setLocationpublic void expired(EntityEvent e)
EntityListener の記述:
EntityListener 内の expiredpublic void receiveErrorResponse(EntityEvent ee)
EntityListener の記述:
EntityListener 内の receiveErrorResponsepublic boolean unsubscribe(Entity target)
Entity 内の unsubscribepublic void receiveNotify(EntityEvent e)
EntityListener 内の receiveNotifypublic void receiveSubscribe(EntityEvent e)
EntityListener 内の receiveSubscribepublic java.lang.String createPIDF()
Entity 内の createPIDFpublic boolean removeSensorData(SensorData sensor)
Entity 内の removeSensorDatapublic void addSensorData(SensorData data)
Entity 内の addSensorDatapublic SensorData[] getSensors()
Entity 内の getSensorspublic void setContactURI(SipURI uri)
Entity 内の setContactURIpublic SipURI getContactURI()
Entity 内の getContactURI
public static void main(java.lang.String[] args)
throws java.text.ParseException
java.text.ParseException
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||