|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectplanetLabVideoClient.StructIPBean
public class StructIPBean
An instance of this class represents an instance of structIP
. It
has getters and setters for each member variable, so that it is possible to
save/load it using the XMLEncoder
.
Field Summary | |
---|---|
private byte |
b1
|
private byte |
b2
|
private byte |
b3
|
private byte |
b4
|
Constructor Summary | |
---|---|
StructIPBean()
Create an empty instance of this class. |
|
StructIPBean(structIP nodeIP)
Create an instance of StructIPBean |
Method Summary | |
---|---|
byte |
getB1()
|
byte |
getB2()
|
byte |
getB3()
|
byte |
getB4()
|
structIP |
getStructIP()
Create a new structIP object, fill it with the values of this instance and return it to the caller. |
void |
setB1(byte b1)
|
void |
setB2(byte b2)
|
void |
setB3(byte b3)
|
void |
setB4(byte b4)
|
void |
setData(structIP nodeIP)
Write all values from nodeIP to own ones. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private byte b1
private byte b2
private byte b3
private byte b4
Constructor Detail |
---|
public StructIPBean()
public StructIPBean(structIP nodeIP)
StructIPBean representing the given nodeIP.
- Parameters:
nodeIP
-
Method Detail
setData
public void setData(structIP nodeIP)
- Write all values from nodeIP to own ones.
- Parameters:
nodeIP
-
getStructIP
public structIP getStructIP()
- Create a new
structIP
object, fill it with the values of this instance and return it to the caller.
- Returns:
- structIP - the wrapped IP.
getB1
public byte getB1()
- Returns:
- the b1
setB1
public void setB1(byte b1)
- Parameters:
b1
- the b1 to set
getB2
public byte getB2()
- Returns:
- the b2
setB2
public void setB2(byte b2)
- Parameters:
b2
- the b2 to set
getB3
public byte getB3()
- Returns:
- the b3
setB3
public void setB3(byte b3)
- Parameters:
b3
- the b3 to set
getB4
public byte getB4()
- Returns:
- the b4
setB4
public void setB4(byte b4)
- Parameters:
b4
- the b4 to set
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD