|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opencloud.slee.resources.mm7.MM7Address com.opencloud.slee.resources.mm7.UserAgentInfo
public class UserAgentInfo
Represents User Agent Info. Consists of a MM7Address
plus a sequence
positive integer which indicates sequence of User Agents that previously
forwarded the MM.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.opencloud.slee.resources.mm7.MM7Address |
---|
MM7Address.AddressCoding |
Constructor Summary | |
---|---|
UserAgentInfo(javax.slee.Address address)
Construct a new instance of UserAgentInfo. |
|
UserAgentInfo(javax.slee.Address address,
boolean displayOnly,
MM7Address.AddressCoding addressCoding,
java.lang.String id,
java.lang.Integer sequence)
Construct a new instance of UserAgentInfo. |
|
UserAgentInfo(MM7Address address)
Construct a new instance of UserAgentInfo. |
|
UserAgentInfo(MM7Address address,
java.lang.Integer sequence)
Construct a new instance of UserAgentInfo. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
|
void |
fromStream(java.io.DataInput in)
|
java.lang.Integer |
getSequence()
Get the sequence number of this User Agent in forwarding chain of User Agents |
void |
toStream(java.io.DataOutput out)
|
java.lang.String |
toString()
|
Methods inherited from class com.opencloud.slee.resources.mm7.MM7Address |
---|
getAddress, getAddressCoding, getID, hashCode, isDisplayOnly |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UserAgentInfo(javax.slee.Address address)
address
- the underling Addresspublic UserAgentInfo(MM7Address address)
address
- the underling MM7Addresspublic UserAgentInfo(MM7Address address, java.lang.Integer sequence)
address
- the underling MM7Addresssequence
- the sequence number of this User Agent in forwarding
chain of User Agents
java.lang.IllegalArgumentException
- if sequence number is not a positive
integer (positive integer is > 0)public UserAgentInfo(javax.slee.Address address, boolean displayOnly, MM7Address.AddressCoding addressCoding, java.lang.String id, java.lang.Integer sequence)
address
- the underling MM7AddressdisplayOnly
- the value of the display-only flagaddressCoding
- the value of the address coding, or null
if inapplicableid
- the value of id of the address, or null if inapplicablesequence
- the sequence number of this User Agent in forwarding
chain of User Agents
- Throws:
java.lang.IllegalArgumentException
- if sequence number is not a positive
integer (positive integer is > 0)
Method Detail |
---|
public java.lang.Integer getSequence()
public void toStream(java.io.DataOutput out) throws java.io.IOException
toStream
in class MM7Address
java.io.IOException
public void fromStream(java.io.DataInput in) throws java.io.IOException
fromStream
in class MM7Address
java.io.IOException
public boolean equals(java.lang.Object obj)
equals
in class MM7Address
public java.lang.String toString()
toString
in class MM7Address
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class MM7Address
java.lang.CloneNotSupportedException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |