|
MjSip Stack v1.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.zoolu.sip.dialog.DialogInfo
|
+--org.zoolu.sip.dialog.Dialog
|
+--org.zoolu.sip.dialog.InviteDialog
|
+--org.zoolu.sip.dialog.ExtendedInviteDialog
Class ExtendedInviteDialog can be used to manage extended invite dialogs.
An ExtendedInviteDialog allows the user:
- to handle authentication
- to handle refer/notify
- to capture all methods within the dialog
| Fields inherited from class org.zoolu.sip.dialog.InviteDialog |
D_ACCEPTED, D_BYED, D_BYEING, D_CALL, D_CLOSE, D_INIT, D_INVITED, D_INVITING, D_ReACCEPTED, D_REFUSED, D_ReINVITED, D_ReINVITING, D_ReREFUSED, D_ReWAITING, D_WAITING |
| Fields inherited from class org.zoolu.sip.dialog.Dialog |
dialog_id, dialog_sqn, log, sip_provider, status, UAC, UAS |
| Constructor Summary | |
ExtendedInviteDialog(SipProvider provider,
ExtendedInviteDialogListener listener)
Creates a new ExtendedInviteDialog. |
|
ExtendedInviteDialog(SipProvider provider,
java.lang.String username,
java.lang.String realm,
java.lang.String passwd,
ExtendedInviteDialogListener listener)
Creates a new ExtendedInviteDialog. |
|
| Method Summary | |
void |
acceptRefer(Message req)
Accept a REFER |
void |
notify(int code,
java.lang.String reason)
Sends a new NOTIFY within the dialog |
void |
notify(java.lang.String sipfragment)
Sends a new NOTIFY within the dialog |
void |
onReceivedMessage(SipProvider provider,
Message msg)
Inherited from class SipProviderListener. |
void |
onTransFailureResponse(TransactionClient tc,
Message msg)
Inherited from TransactionClientListener. |
void |
onTransSuccessResponse(TransactionClient t,
Message msg)
Inherited from TransactionClientListener. |
void |
onTransTimeout(TransactionClient t)
Inherited from TransactionClientListener. |
protected void |
printLog(java.lang.String str,
int level)
Adds a new string to the default Log |
void |
refer(NameAddress refer_to)
Sends a new REFER within the dialog |
void |
refer(NameAddress refer_to,
NameAddress referred_by)
Sends a new REFER within the dialog |
void |
refuseRefer(Message req)
Refuse a REFER |
void |
request(Message req)
Sends a new request within the dialog |
void |
respond(Message resp)
Responds with resp |
| Methods inherited from class org.zoolu.sip.dialog.InviteDialog |
accept, ackWithAnswer, ackWithAnswer, bye, bye, cancel, cancel, getInviteMessage, getStatus, invite, invite, inviteWithoutOffer, inviteWithoutOffer, isConfirmed, isEarly, isSessionActive, isTerminated, listen, onTransAckTimeout, onTransFailureAck, onTransProvisionalResponse, onTransRequest, redirect, refuse, refuse, reInvite, reInvite, reInviteWithoutOffer, reInviteWithoutOffer, respond, ring |
| Methods inherited from class org.zoolu.sip.dialog.Dialog |
changeStatus, getDialogID, getSipProvider, printException, printWarning, statusIs, update, verifyStatus, verifyThat |
| Methods inherited from class org.zoolu.sip.dialog.DialogInfo |
getCallID, getLocalContact, getLocalCSeq, getLocalName, getLocalTag, getRemoteContact, getRemoteCSeq, getRemoteName, getRemoteTag, getRoute, incLocalCSeq, incRemoteCSeq, setCallID, setLocalContact, setLocalCSeq, setLocalName, setLocalTag, setRemoteContact, setRemoteCSeq, setRemoteName, setRemoteTag, setRoute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExtendedInviteDialog(SipProvider provider,
ExtendedInviteDialogListener listener)
public ExtendedInviteDialog(SipProvider provider,
java.lang.String username,
java.lang.String realm,
java.lang.String passwd,
ExtendedInviteDialogListener listener)
| Method Detail |
public void request(Message req)
public void refer(NameAddress refer_to)
public void refer(NameAddress refer_to,
NameAddress referred_by)
public void notify(int code,
java.lang.String reason)
public void notify(java.lang.String sipfragment)
public void respond(Message resp)
respond in class InviteDialogpublic void acceptRefer(Message req)
public void refuseRefer(Message req)
public void onReceivedMessage(SipProvider provider,
Message msg)
onReceivedMessage in class InviteDialog
public void onTransFailureResponse(TransactionClient tc,
Message msg)
onTransFailureResponse in class InviteDialog
public void onTransSuccessResponse(TransactionClient t,
Message msg)
onTransSuccessResponse in class InviteDialogpublic void onTransTimeout(TransactionClient t)
onTransTimeout in class InviteDialog
protected void printLog(java.lang.String str,
int level)
printLog in class InviteDialog
|
MjSip Stack v1.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||