com.appliancestudio.jbluez
Class InquiryInfo

java.lang.Object
  |
  +--com.appliancestudio.jbluez.InquiryInfo

public class InquiryInfo
extends java.lang.Object

Stores the results of an HCI inquiry. Each result is an InquiryInfoDevice object.

Version:
1.0
Author:
Edward Kay, ed.kay@appliancestudio.com

Field Summary
 byte num_responses
          The number of devices that responded.
 
Constructor Summary
InquiryInfo()
          Default constructor.
InquiryInfo(byte _num_responses)
          Constructor.
 
Method Summary
 void addDevice(com.appliancestudio.jbluez.InquiryInfoDevice dev)
          Adds an InquiryInfoDevice object to the Vector of devices.
 java.util.Vector devices()
          Returns the Vector representation of the InquiryInfoDevice objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

num_responses

public byte num_responses
The number of devices that responded.

Constructor Detail

InquiryInfo

public InquiryInfo()
Default constructor.


InquiryInfo

public InquiryInfo(byte _num_responses)
Constructor.

Parameters:
_num_responses - The number of responses.
Method Detail

addDevice

public void addDevice(com.appliancestudio.jbluez.InquiryInfoDevice dev)
Adds an InquiryInfoDevice object to the Vector of devices.

Parameters:
dev - An InquiryInfoDevice object.

devices

public java.util.Vector devices()
Returns the Vector representation of the InquiryInfoDevice objects.

Returns:
Devices found.


Copyright © 2002 The Appliance Studio Limited