|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--jain.protocol.ip.sip.message.Message
|
+--jain.protocol.ip.sip.message.RequestMessage
|
+--jain.protocol.ip.sip.message.ByeMessage
This calls represents a BYE request message. The user agent client uses a ByeMessage to indicate to the server that it wishes to release the call. A ByeMessage is forwarded like an InviteMessage and may be issued by either caller or callee. A party to a call should issue a ByeMessage before releasing a call ("hanging up"). A party receiving a ByeMessage must cease transmitting media streams specifically directed at the party issuing the ByeMessage.
If the InviteMessage contained a ContactHeader, the callee should send a ByeMessage to that address rather than the FromHeader address.
ByeMessages must be supported by proxy servers and should be supported by redirect and user agent SIP servers.
InviteMessage,
ContactHeader, Serialized Form| Field Summary | |
static java.lang.String |
method
ByeMessage's method |
| Constructor Summary | |
ByeMessage(java.lang.Object source,
InviteMessage invite)
Constructor of ByeMessage based on sent InviteMessage Note - the ByeMessage will have a CSeq number equal to the CSeq number of the InviteMessage plus one i.e. |
|
ByeMessage(java.lang.Object source,
ResponseMessage response)
Constructor of ByeMessage based on received ResponseMessage Note - the ByeMessage will have a CSeq number equal to the CSeq number of the ResponseMessage plus one i.e. |
|
ByeMessage(java.lang.Object source,
URI requestURI,
CallIdHeader callIdHeader,
CSeqHeader cSeqHeader,
FromHeader fromHeader,
ToHeader toHeader,
ViaHeader[] viaHeaders)
Constructor of ByeMessage |
|
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final java.lang.String method
| Constructor Detail |
public ByeMessage(java.lang.Object source,
InviteMessage invite)
throws java.lang.IllegalArgumentException,
HeaderNotSetException
source - source of the ByeMessageinvite - sent InviteMessage
public ByeMessage(java.lang.Object source,
ResponseMessage response)
throws java.lang.IllegalArgumentException,
HeaderNotSetException
source - source of the ByeMessageresponse - received ResponseMessage
public ByeMessage(java.lang.Object source,
URI requestURI,
CallIdHeader callIdHeader,
CSeqHeader cSeqHeader,
FromHeader fromHeader,
ToHeader toHeader,
ViaHeader[] viaHeaders)
throws java.lang.IllegalArgumentException
source - source of the ByeMessagerequestURI - Request URIcallIdHeader - CallIdHeadercSeqHeader - CSeqHeaderfromHeader - FromHeadertoHeader - ToHeaderviaHeaders - ViaHeaders
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright - 2000 Sun Microsystems