|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjgroup.relacs.types.VersionId
public final class VersionId
The VersionId class wraps a value of the relacs daemon type
"version id" in an object. Version ids are used to identify different
agreement attempts. An object of type VersionId contains a
single field whose type is int.
| Field Summary | |
|---|---|
static int |
SIZE
Size of this object in bytes |
| Constructor Summary | |
|---|---|
VersionId(int value)
Creates a VersionId object containing the specified
value. |
|
| Method Summary | |
|---|---|
int |
getValue()
Returned the wrapped value. |
static void |
marshal(java.io.ObjectOutput msg,
int value)
Marshals the specified version id to an outgoing message. |
static int |
unmarshal(java.io.ObjectInput msg)
Unmarshals a version id from an incoming message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SIZE
| Constructor Detail |
|---|
public VersionId(int value)
VersionId object containing the specified
value.
| Method Detail |
|---|
public int getValue()
public static void marshal(java.io.ObjectOutput msg,
int value)
throws java.io.IOException
java.io.IOException
public static int unmarshal(java.io.ObjectInput msg)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||