|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jnetpcap.PcapInteger
public final class PcapInteger
An 32-bit integer reference that can be used to pass into pcap methods that require an integer pointer to be set as a return value. The object is not peered with any native structures, but is set using special JNI priviledges.
Constructor Summary | |
---|---|
PcapInteger()
Creates an 0 initialized integer object |
|
PcapInteger(int value)
Initializes the object with int value |
Method Summary | |
---|---|
int |
getValue()
Gets the current value |
void |
setValue(int value)
Sets a new value |
java.lang.String |
toString()
Returns string representation of the integer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PcapInteger(int value)
value
- value to initialize the object withpublic PcapInteger()
Method Detail |
---|
public final int getValue()
public final void setValue(int value)
value
- the value to setpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |