javaclient2.structures.player
Class PlayerDeviceDriverInfo

java.lang.Object
  extended by javaclient2.structures.player.PlayerDeviceDriverInfo

public class PlayerDeviceDriverInfo
extends java.lang.Object

To get a name, send a PLAYER_PLAYER_REQ_DRIVERINFO request that specifies the addresses of the desired device in the addr field. Set driver_name_count to 0 and leave driver_name empty. The response will contain the driver name. (see the player_device_driverinfo structure from player.h)

Version:
Author:
Radu Bogdan Rusu

Constructor Summary
PlayerDeviceDriverInfo()
           
 
Method Summary
 PlayerDevAddr getAddr()
           
 java.lang.String getDriverName()
           
 int getDriverNameCount()
           
 void setAddr(PlayerDevAddr newAddr)
           
 void setDriverName(java.lang.String newdrivername)
           
 void setDriverNameCount(int newDriverNameCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerDeviceDriverInfo

public PlayerDeviceDriverInfo()
Method Detail

getAddr

public PlayerDevAddr getAddr()
Returns:
the device identifier

setAddr

public void setAddr(PlayerDevAddr newAddr)
Parameters:
newAddr - device identifier

getDriverNameCount

public int getDriverNameCount()
Returns:
length of the driver name

setDriverNameCount

public void setDriverNameCount(int newDriverNameCount)
Parameters:
newDriverNameCount - length of the driver name

getDriverName

public java.lang.String getDriverName()
Returns:
the driver name

setDriverName

public void setDriverName(java.lang.String newdrivername)
Parameters:
newdrivername - driver name