public interface CSeqHeader extends Header
Forked Requests:
Forked Requests must have the same CSeqHeader as there would be ambiguity
otherwise between these forked Requests and later BYE Requests issued by the
client user agent.
For Example:
CSeq: 4711 INVITE
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
Name of the CSeqHeader
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compare this CSeqHeader for equality with another.
|
String |
getMethod()
Gets the method of CSeqHeader
|
long |
getSeqNumber()
Gets the sequence number of this CSeqHeader.
|
int |
getSequenceNumber()
Deprecated.
This method is replaced with
getSeqNumber() with
type long. |
void |
setMethod(String method)
Sets the method of CSeqHeader
|
void |
setSeqNumber(long sequenceNumber)
Sets the sequence number value of the CSeqHeader.
|
void |
setSequenceNumber(int sequenceNumber)
Deprecated.
This method is replaced with
setSeqNumber(long) with
type long. |
static final String NAME
void setMethod(String method) throws ParseException
method - - the method of the Request of this CSeqHeaderParseException - which signals that an error has been reached
unexpectedly while parsing the method value.String getMethod()
void setSequenceNumber(int sequenceNumber)
throws InvalidArgumentException
setSeqNumber(long) with
type long.sequenceNumber - - the new sequence number of this CSeqHeaderInvalidArgumentException - if supplied value is less than zero.int getSequenceNumber()
getSeqNumber() with
type long.void setSeqNumber(long sequenceNumber)
throws InvalidArgumentException
sequenceNumber - - the new sequence number of this CSeqHeaderInvalidArgumentException - if supplied value is less than zero.long getSeqNumber()
boolean equals(Object obj)
Copyright © 2014. All Rights Reserved.