Interface OriginHost
-
- All Superinterfaces:
Avp<DiameterIdentity>
,FramedAvp
- All Known Implementing Classes:
OriginHost.DefaultOriginHost
public interface OriginHost extends Avp<DiameterIdentity>
This is an autogenerated class - do not edit
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
OriginHost.DefaultOriginHost
-
Nested classes/interfaces inherited from interface io.snice.codecs.codec.diameter.avp.Avp
Avp.AvpCodeStep<T extends DiameterType>, Avp.Builder<T extends DiameterType>, Avp.DefaultBuilder<T extends DiameterType>, Avp.DefaultValueStepBuilder<T extends DiameterType>, Avp.ValueStep<T extends DiameterType>
-
-
Field Summary
Fields Modifier and Type Field Description static int
CODE
static Function<DiameterIdentity,OriginHost>
CREATOR
static Class<DiameterIdentity>
TYPE
The parameterized type of this Avp.-
Fields inherited from interface io.snice.codecs.codec.diameter.avp.FramedAvp
CANNOT_CAST_AVP_OF_TYPE
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default long
getCode()
Convenience method for getting the AVP code from theAvpHeader
default boolean
isOriginHost()
static OriginHost
of(io.snice.buffer.Buffer value)
static OriginHost
of(DiameterIdentity value)
static OriginHost
of(String value)
static OriginHost
parse(FramedAvp raw)
default OriginHost
toOriginHost()
-
Methods inherited from interface io.snice.codecs.codec.diameter.avp.Avp
getValue, writeValue
-
Methods inherited from interface io.snice.codecs.codec.diameter.avp.FramedAvp
ensure, getData, getHeader, getLength, getPadding, isEnumerated, isExperimentalResult, isExperimentalResultCode, isOriginRealm, isProductName, isResultCode, toDestinationHost, toDestinationRealm, toEnumerated, toExperimentalResult, toExperimentalResultCode, toHostIpAddress, toOriginRealm, toProductName, toResultCode, writeTo
-
-
-
-
Field Detail
-
CODE
static final int CODE
- See Also:
- Constant Field Values
-
TYPE
static final Class<DiameterIdentity> TYPE
The parameterized type of this Avp. The main purpose for this field is simply that it is easier to do reflection magic on a field than work out a parameterized type on a generic interface.
-
CREATOR
static final Function<DiameterIdentity,OriginHost> CREATOR
-
-
Method Detail
-
of
static OriginHost of(io.snice.buffer.Buffer value)
-
of
static OriginHost of(String value)
-
of
static OriginHost of(DiameterIdentity value)
-
getCode
default long getCode()
Description copied from interface:FramedAvp
Convenience method for getting the AVP code from theAvpHeader
-
isOriginHost
default boolean isOriginHost()
- Specified by:
isOriginHost
in interfaceFramedAvp
-
toOriginHost
default OriginHost toOriginHost()
- Specified by:
toOriginHost
in interfaceFramedAvp
-
parse
static OriginHost parse(FramedAvp raw)
-
-