|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICallSessionRequestEvent
Event received when a call request is received.
Method Summary | |
---|---|
ICallSession |
accept(ICallSessionListener listener,
java.util.Map properties)
Accept the incoming call request. |
CallSessionState |
getCallSessionState()
Get CallSessionState for this request. |
ID |
getInitiator()
Get the ID of the call initiator. |
java.util.Map |
getProperties()
Get map of properties associated with the call request. |
ID |
getReceiver()
Get the ID of the intended call receiver. |
ID |
getSessionID()
Get ID uniquely identifying the call session. |
void |
reject()
Reject the incoming call request. |
Method Detail |
---|
ID getInitiator()
null
.ID getReceiver()
null
.ID getSessionID()
null
.java.util.Map getProperties()
null
.CallSessionState getCallSessionState()
CallSessionState.PENDING
,
meaning that the call is pending subsequent acceptance by this request
listener (via athe accept(ICallSessionListener, Map)
call. Can
be other values, however, depending upon the actual call state.
ICallSession accept(ICallSessionListener listener, java.util.Map properties) throws CallException
reject()
method should be called, depending upon whether the
call should be accepted (answered) or not.
listener
- the ICallSessionListener
to handle
ICallSessionEvent
s. Must not be null
.
CallException
- if some problem accepting the requested call (e.g. the
initiator has dropped).void reject()
accept(ICallSessionListener, Map)
method should be called,
depending upon whether the call should be rejected or accepted
(answered). If accept(ICallSessionListener, Map)
has previously
been called successfully, calling this method has no effect.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |