|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.ac.naka.ec.entity.EntityImpl
public class EntityImpl
コンストラクタの概要 | |
---|---|
EntityImpl()
|
|
EntityImpl(EntityInformation info)
|
|
EntityImpl(PIDFData data)
|
|
EntityImpl(javax.sip.address.SipURI uri)
|
|
EntityImpl(java.lang.String 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したとき |
javax.sip.address.SipURI |
getContactURI()
|
EntityContainer |
getContainer()
所属するEntityContainerの取得 |
java.lang.String |
getDescription()
|
EntityType |
getEntityType()
EntityTypeの取得 |
java.lang.String[] |
getKeywords()
|
Location |
getLocation()
|
java.lang.String |
getName()
|
SensorData[] |
getSensors()
|
javax.sip.address.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)
|
javax.sdp.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(javax.sdp.SessionDescription sdp,
Entity target)
SDPを指定してセッションのリクエスト |
void |
setContactURI(javax.sip.address.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(javax.sip.address.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(javax.sip.address.SipURI uri)
public EntityImpl(java.lang.String uri) throws java.text.ParseException
java.text.ParseException
public EntityImpl(java.lang.String user, java.lang.String host) throws java.text.ParseException
java.text.ParseException
public EntityImpl(EntityInformation info) throws java.text.ParseException
java.text.ParseException
public EntityImpl(PIDFData data)
メソッドの詳細 |
---|
public java.lang.String getDescription()
Entity
内の getDescription
public void setDescrpition(java.lang.String description)
Entity
内の setDescrpition
descrpition
- the descrpition to setpublic java.lang.String getName()
Entity
内の getName
public void setName(java.lang.String name)
Entity
内の setName
name
- the name to setpublic javax.sip.address.SipURI getURI()
Entity
内の getURI
public void setURI(javax.sip.address.SipURI uri)
Entity
内の setURI
uri
- the uri to setpublic EntityContainer getContainer()
Entity
の記述:
Entity
内の getContainer
public EntityType getEntityType()
Entity
の記述:
Entity
内の getEntityType
public boolean sendBye(Entity target)
Entity
の記述:
Entity
内の sendBye
public boolean sendMessage(java.lang.String msg)
Entity
の記述:
Entity
内の sendMessage
public boolean sendMessage(java.lang.String msg, Entity target)
Entity
の記述:
Entity
内の sendMessage
public boolean sendOffer(javax.sdp.SessionDescription sdp, Entity target)
Entity
の記述:
Entity
内の sendOffer
public boolean sendOffer(Entity target)
Entity
の記述:
Entity
内の sendOffer
public void setEntityType(EntityType type)
Entity
内の setEntityType
public boolean isLocal()
Entity
の記述:
Entity
内の isLocal
public void receiveAck(EntityEvent e)
EntityListener
の記述:
EntityListener
内の receiveAck
public void receiveAnswer(EntityEvent e)
EntityListener
の記述:
EntityListener
内の receiveAnswer
public void receiveBye(EntityEvent e)
EntityListener
の記述:
EntityListener
内の receiveBye
public void receiveMessage(EntityEvent e)
EntityListener
の記述:
EntityListener
内の receiveMessage
public javax.sdp.SessionDescription receiveOffer(EntityEvent e)
EntityListener
の記述:
EntityListener
内の receiveOffer
public void register(EntityEvent e)
public void setLocal(boolean b)
Entity
内の setLocal
public 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.ParseException
public void addKeyword(java.lang.String str)
Entity
内の addKeyword
public boolean removeKeyword(java.lang.String msg)
public java.lang.String[] getKeywords()
Entity
内の getKeywords
public boolean equals(java.lang.Object obj)
java.lang.Object
内の equals
public void setEntityContainer(EntityContainer impl)
Entity
内の setEntityContainer
public boolean subscribe(Entity target)
Entity
の記述:
Entity
内の subscribe
public Location getLocation()
Entity
内の getLocation
public void setLocation(Location location)
Entity
内の setLocation
public void expired(EntityEvent e)
EntityListener
の記述:
EntityListener
内の expired
public void receiveErrorResponse(EntityEvent ee)
EntityListener
の記述:
EntityListener
内の receiveErrorResponse
public boolean unsubscribe(Entity target)
Entity
内の unsubscribe
public void receiveNotify(EntityEvent e)
EntityListener
内の receiveNotify
public void receiveSubscribe(EntityEvent e)
EntityListener
内の receiveSubscribe
public java.lang.String createPIDF()
Entity
内の createPIDF
public boolean removeSensorData(SensorData sensor)
Entity
内の removeSensorData
public void addSensorData(SensorData data)
Entity
内の addSensorData
public SensorData[] getSensors()
Entity
内の getSensors
public void setContactURI(javax.sip.address.SipURI uri)
Entity
内の setContactURI
public javax.sip.address.SipURI getContactURI()
Entity
内の getContactURI
public static void main(java.lang.String[] args) throws java.text.ParseException
java.text.ParseException
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |