|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavaclient.structures.PlayerDeviceIdT
public class PlayerDeviceIdT
Devices are differentiated internally in Player by these identifiers, and some messages
contain them.
(see the player_device_id structure from player.h)
Constructor Summary | |
---|---|
PlayerDeviceIdT()
|
Method Summary | |
---|---|
short |
getCode()
|
short |
getIndex()
|
short |
getPort()
|
void |
setCode(short newcode)
|
void |
setIndex(short newindex)
|
void |
setPort(short newport)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlayerDeviceIdT()
Method Detail |
---|
public short getCode()
public void setCode(short newcode)
newcode
- interface provided by the devicepublic short getIndex()
public void setIndex(short newindex)
newindex
- index of the devicepublic short getPort()
public void setPort(short newport)
newport
- TCP port of the device
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |