Package com.nt.udc.ndk.node
Class IPField
java.lang.Object
com.nt.udc.ndk.node.DCField
com.nt.udc.ndk.node.IPField
- All Implemented Interfaces:
Serializable,Cloneable
Network Mediation
User: jwu
Date: Nov 14, 2005
Time: 2:09:49 PM
MetaSolv Software Inc.
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbytedoublefloatintlongshortintgetType()voidSets the value of this IPField from the given String, where the expected format is four unsigned decimal numbers, each representing eight bits, separated by periods.Methods inherited from class com.nt.udc.ndk.node.DCField
clone, create, dup, equals, equalsValue, getBytes, getBytesValue, getDCField, getDCField, getDCField, getID, getKey, getLength, getStaticAttrLength, init, init, init, isEmpty, isVarLength, makeAttrfromBytes, makeAttrfromBytes, makeAttrfromBytes, makeAttrfromBytes, makeAttrfromStream, readValueFromStream, setID, setID, setKey, setType, setValue, toString, writeValueToStream
-
Constructor Details
-
IPField
public IPField() -
IPField
-
IPField
-
IPField
Deprecated.Use IPField(FieldKey key, byte [] val)- Parameters:
id-val-
-
IPField
Deprecated.Use IPField(FieldKey key, byte [] val)- Parameters:
id-val-
-
-
Method Details
-
setValue
Sets the value of this IPField from the given String, where the expected format is four unsigned decimal numbers, each representing eight bits, separated by periods.- Throws:
NDKException
-
getType
public int getType() -
getByteValue
- Overrides:
getByteValuein classDCField- Throws:
ClassCastException
-
getDateValue
- Overrides:
getDateValuein classDCField- Throws:
ClassCastException
-
getDoubleValue
- Overrides:
getDoubleValuein classDCField- Throws:
ClassCastException
-
getFloatValue
- Overrides:
getFloatValuein classDCField- Throws:
ClassCastException
-
getIntValue
- Overrides:
getIntValuein classDCField- Throws:
ClassCastException
-
getLongValue
- Overrides:
getLongValuein classDCField- Throws:
ClassCastException
-
getShortValue
- Overrides:
getShortValuein classDCField- Throws:
ClassCastException
-
getStringValue
- Overrides:
getStringValuein classDCField- Throws:
ClassCastException
-