javaclient
Class WiFiInterface

java.lang.Object
  extended by javaclient.PlayerDevice
      extended by javaclient.WiFiInterface

public class WiFiInterface
extends PlayerDevice

The wifi interface provides access to the state of a wireless network interface. This interface accepts no commands.

Version:
Author:
Maxim A. Batalin & Radu Bogdan Rusu

Nested Class Summary
 class WiFiInterface.WiFiLink
           
 
Field Summary
 byte[] debug
           
 
Fields inherited from class javaclient.PlayerDevice
device, DIFFERENCE_SYNCH_FACTOR, index, is, os, pc, PLAYER_MAX_REQREP_SIZE, PLAYER_STXX, reserved, size, t_sec, t_usec, ts_sec, ts_usec
 
Constructor Summary
WiFiInterface(PlayerClient pc, short indexOfDevice)
          Constructor for WiFiInterface.
 
Method Summary
 int getLinkCount()
           
 WiFiInterface.WiFiLink[] getLinks()
           
 void readData()
          Read the WiFi information.
 
Methods inherited from class javaclient.PlayerDevice
getTimeForDataSampled_sec, getTimeForDataSampled_usec, getTimeForDataSampled, getTimeForDataSent_sec, getTimeForDataSent_usec, getTimeForDataSent, handleEARMessage, handleNARMessage, handleResponse, readHeader, sendHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

public byte[] debug
Constructor Detail

WiFiInterface

public WiFiInterface(PlayerClient pc,
                     short indexOfDevice)
Constructor for WiFiInterface.

Parameters:
pc - a reference to the PlayerClient object
indexOfDevice - the index of the device
Method Detail

readData

public void readData()
Read the WiFi information.

Overrides:
readData in class PlayerDevice

getLinks

public WiFiInterface.WiFiLink[] getLinks()

getLinkCount

public int getLinkCount()