|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objsys.asn1j.runtime.Asn1PerBitField
public class Asn1PerBitField
This class is used to store information on an individual bit field within a PER message. The information can be used to print a bit trace of the components of a message. It is used in conjunction with the Asn1PerBitFieldList class to map all bits in a message.
Constructor Summary | |
---|---|
Asn1PerBitField(java.lang.String name,
int bitOffset,
int bitCount)
This constructor initializes all of the variables used to track the bit fields. |
Method Summary | |
---|---|
int |
getBitCount()
This method returns the number of bits in the bit field. |
int |
getBitOffset()
This method returns the offset to the bit field in the buffer. |
java.lang.String |
getName()
This method returns the name assigned to the bit field. |
void |
setBitCount(int value)
This method sets the count of bits in the bit field. |
void |
setBitCountAndOffset(int count,
int offset)
This method sets the count of bits in the bit field and the offset to the bit field in the message buffer. |
void |
setBitOffset(int value)
This method sets the offset to the bit field in the message buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Asn1PerBitField(java.lang.String name, int bitOffset, int bitCount)
name
- Name of the bit field.bitOffset
- Offset within buffer to the bit fieldbitCount
- Number of bits in the bit fieldMethod Detail |
---|
public int getBitCount()
public int getBitOffset()
public java.lang.String getName()
public void setBitCount(int value)
public void setBitCountAndOffset(int count, int offset)
public void setBitOffset(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |