public class ConnectionAddress extends SDPObject
Modifier and Type | Field and Description |
---|---|
protected Host |
address |
protected int |
port |
protected int |
ttl |
CORE_PACKAGE, SDPFIELDS_PACKAGE
AND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, immutableClasses, indentation, LESS_THAN, LPAREN, matchExpression, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR, stringRepresentation
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
Constructor and Description |
---|
ConnectionAddress() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clones this object.
|
String |
encode()
Get the string encoded version of this object
|
Host |
getAddress() |
int |
getPort() |
int |
getTtl() |
void |
setAddress(Host a)
Set the address member
|
void |
setPort(int p)
Set the port member
|
void |
setTtl(int ttl)
Set the ttl member
|
dbgPrint, debugDump, equals, getStringRepresentation, initSprint, match, sprint, toString
dbgPrint, dbgPrint, debugDump, encode, getClassFromName, getIndentation, getMatcher, isMySubclass, makeClone, merge, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint
protected Host address
protected int ttl
protected int port
public Host getAddress()
public int getTtl()
public int getPort()
public void setAddress(Host a)
public void setTtl(int ttl)
public void setPort(int p)
public String encode()
public Object clone()
GenericObject
clone
in class GenericObject
Copyright © 2015. All Rights Reserved.