org.mobicents.slee.resource.diameter.base.events.avp
Class DiameterURIAvpImpl
java.lang.Object
org.mobicents.slee.resource.diameter.base.events.avp.DiameterURIAvpImpl
- All Implemented Interfaces:
- DiameterURIAvp
public class DiameterURIAvpImpl
- extends java.lang.Object
- implements DiameterURIAvp
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TRANSPORT_TCP
public static final int TRANSPORT_TCP
- See Also:
- Constant Field Values
TRANSPORT_SCTP
public static final int TRANSPORT_SCTP
- See Also:
- Constant Field Values
TRANSPORT_UDP
public static final int TRANSPORT_UDP
- See Also:
- Constant Field Values
PROTOCOL_DIAMETER
public static final int PROTOCOL_DIAMETER
- See Also:
- Constant Field Values
PROTOCOL_RADIUS
public static final int PROTOCOL_RADIUS
- See Also:
- Constant Field Values
PROTOCOL_TACACSPLUS
public static final int PROTOCOL_TACACSPLUS
- See Also:
- Constant Field Values
DiameterURIAvpImpl
public DiameterURIAvpImpl(java.lang.String fqdn,
int port,
int protocol,
int transport,
boolean secure)
DiameterURIAvpImpl
public DiameterURIAvpImpl(java.lang.String uri)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
getSecure
public boolean getSecure()
- Specified by:
getSecure in interface DiameterURIAvp
getHostname
public java.lang.String getHostname()
- Specified by:
getHostname in interface DiameterURIAvp
getPort
public int getPort()
- Specified by:
getPort in interface DiameterURIAvp
getProtocol
public int getProtocol()
- Specified by:
getProtocol in interface DiameterURIAvp
getTransport
public int getTransport()
- Specified by:
getTransport in interface DiameterURIAvp
getBytes
public byte[] getBytes()
- Return the contents of this URI as a byte array. Technically this type derives from OctetString, so we
need to be able to return the value in the base type.
- Specified by:
getBytes in interface DiameterURIAvp
- Returns:
- the result of toString().getBytes()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008. All Rights Reserved.