org.lastbamboo.common.sdp.fields
Class ConnectionAddress
java.lang.Object
org.lastbamboo.common.sdp.GenericObject
org.lastbamboo.common.sdp.fields.SDPObject
org.lastbamboo.common.sdp.fields.ConnectionAddress
- All Implemented Interfaces:
- Serializable, Cloneable, SDPFieldNames
public class ConnectionAddress
- extends SDPObject
Connection Address of the SDP header (appears as part of the Connection field)
- Version:
- JSR141-PUBLIC-REVIEW (subject to change)
- Author:
- Olivier Deruelle , M. Ranganathan
This code is in the public domain.
- See Also:
- Serialized Form
| Fields inherited from class org.lastbamboo.common.sdp.GenericObject |
AND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, immutableClasses, immutableClassNames, indentation, LESS_THAN, LPAREN, matchExpression, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR, stringRepresentation |
| Fields inherited from interface org.lastbamboo.common.sdp.fields.SDPFieldNames |
ATTRIBUTE_FIELD, BANDWIDTH_FIELD, CONNECTION_FIELD, EMAIL_FIELD, INFORMATION_FIELD, KEY_FIELD, MEDIA_FIELD, ORIGIN_FIELD, PHONE_FIELD, PROTO_VERSION_FIELD, REPEAT_FIELD, SESSION_NAME_FIELD, TIME_FIELD, URI_FIELD, ZONE_FIELD |
| Methods inherited from class org.lastbamboo.common.sdp.fields.SDPObject |
dbgPrint, debugDump, equals, getStringRepresentation, initSprint, match, merge, replace, replace, replace, replace, sprint, toString |
| Methods inherited from class org.lastbamboo.common.sdp.GenericObject |
Assert, dbgPrint, dbgPrint, debugDump, getIndentation, getMatcher, isMySubclass, makeClone, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint |
address
protected Host address
ttl
protected int ttl
port
protected int port
ConnectionAddress
public ConnectionAddress()
getAddress
public Host getAddress()
getTtl
public int getTtl()
getPort
public int getPort()
setAddress
public void setAddress(Host a)
- Set the address member
setTtl
public void setTtl(int ttl)
- Set the ttl member
setPort
public void setPort(int p)
- Set the port member
encode
public String encode()
- Get the string encoded version of this object
- Specified by:
encode in class SDPObject
- Since:
- v1.0
clone
public Object clone()
- Description copied from class:
GenericObject
- Clones this object.
- Overrides:
clone in class GenericObject
Copyright © 2013 LittleShoot. All Rights Reserved.