|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addListener(MediaListener listener)
add a listener for Voip requests |
java.lang.String |
findMediaGateway()
This method should be called from the client only It tries to find if there are any server-side components that can service voip requests |
java.lang.String |
getAddress(java.lang.String userid)
Find media addresses of a user Used to locate the addresses at which a user can be reached This could be, for eg, a telephone number or a SIP url |
void |
initiate(java.lang.String target)
Send a call initiate request |
void |
redirect(java.lang.String id,
java.lang.String caller,
java.lang.String redirLocation)
Send a redirect to a caller. |
void |
removeListener(MediaListener listener)
remove an active listener |
void |
terminate(java.lang.String id,
java.lang.String target)
Send a terminate request to the peer |
Method Detail |
public void addListener(MediaListener listener)
public void removeListener(MediaListener listener)
public void initiate(java.lang.String target)
target
- the user id of the person to callpublic void redirect(java.lang.String id, java.lang.String caller, java.lang.String redirLocation)
id
- The session idcaller
- User id of the caller who initiated the callpublic java.lang.String findMediaGateway()
public void terminate(java.lang.String id, java.lang.String target)
id
- The session IDtarget
- the userid to send the requestpublic java.lang.String getAddress(java.lang.String userid)
userid
- the User whose addresses are to be found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |