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 TypeMethodDescriptionbyte
double
float
int
long
short
int
getType()
void
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.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:
getByteValue
in classDCField
- Throws:
ClassCastException
-
getDateValue
- Overrides:
getDateValue
in classDCField
- Throws:
ClassCastException
-
getDoubleValue
- Overrides:
getDoubleValue
in classDCField
- Throws:
ClassCastException
-
getFloatValue
- Overrides:
getFloatValue
in classDCField
- Throws:
ClassCastException
-
getIntValue
- Overrides:
getIntValue
in classDCField
- Throws:
ClassCastException
-
getLongValue
- Overrides:
getLongValue
in classDCField
- Throws:
ClassCastException
-
getShortValue
- Overrides:
getShortValue
in classDCField
- Throws:
ClassCastException
-
getStringValue
- Overrides:
getStringValue
in classDCField
- Throws:
ClassCastException
-