|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.npsnet.xrti.proxies.HLAsharingType
Sharing type to be used for sending attributes or interactions.
| Field Summary | |
static HLAsharingType |
Neither
Enumerator #3. |
static HLAsharingType |
Publish
Enumerator #0. |
static HLAsharingType |
PublishSubscribe
Enumerator #2. |
static HLAsharingType |
Subscribe
Enumerator #1. |
private int |
value
The value of the instance. |
| Constructor Summary | |
|
HLAsharingType()
Default constructor (Publish). |
|
HLAsharingType(HLAsharingType other)
Copy constructor. |
private |
HLAsharingType(int pValue)
Private constructor. |
| Method Summary | |
static HLAsharingType |
decode(HLAEncodingInputStream hlaeis)
Reads and returns a HLAsharingType from the specified stream. |
void |
encode(HLAEncodingOutputStream hlaeos)
Writes this HLAsharingType to the specified stream. |
boolean |
equals(java.lang.Object other)
Compares this HLAsharingType for equality with another. |
int |
hashCode()
Computes and returns a hash code corresponding to this HLAsharingType. |
java.lang.String |
toString()
Returns a string representation of this HLAsharingType |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final HLAsharingType Publish
public static final HLAsharingType Subscribe
public static final HLAsharingType PublishSubscribe
public static final HLAsharingType Neither
private int value
| Constructor Detail |
public HLAsharingType()
public HLAsharingType(HLAsharingType other)
other - the other HLAsharingType to copyprivate HLAsharingType(int pValue)
pValue - the instance value| Method Detail |
public static HLAsharingType decode(HLAEncodingInputStream hlaeis)
throws java.io.IOException
hlaeis - the input stream to read from
java.io.IOException - if an error occurspublic boolean equals(java.lang.Object other)
other - the other HLAsharingType
true if the two enumerated types are equal,
false otherwisepublic int hashCode()
public void encode(HLAEncodingOutputStream hlaeos)
throws java.io.IOException
hlaeos - the stream to write to
java.io.IOException - if an error occurspublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||