Java Doc for JavaBCC.java in  » 6.0-JDK-Modules » j2me » com » sun » kvem » jsr082 » bluetooth » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » com.sun.kvem.jsr082.bluetooth 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.kvem.jsr082.bluetooth.JavaBCC

JavaBCC
public class JavaBCC extends BCC (Code)
Java-based Bluetooth Control Center.



Constructor Summary
protected  JavaBCC()
     Constructs an instance.

Method Summary
public  voidaddConnection(String address)
     Registers a new connection to a remote device.
public  booleanauthenticate(String address)
     Authenticates remote device.
public  booleanauthorize(String address, int handle)
     Authorizes a Bluetooth connection.
public  booleanbond(String address, String pin)
     Initiates pairing with a remote device.
public  booleanenableBluetooth()
     Enables Bluetooth radio and the Bluetooth protocol stack for use.
public  booleanencrypt(String address, boolean enable)
    
public  intgetAccessCode()
    
public  StringgetBluetoothAddress()
     Returns local Bluetooth address.
public  intgetConnectionCount(String address)
     Returns the number of connections to the remote device.
public  DeviceClassgetDeviceClass()
    
public  StringgetFriendlyName()
     Returns user-friendly name for the local device.
public  StringgetFriendlyName(String address)
     Retrieves the user-friendly name for specified remote device.
public  StringgetPasskey(String address)
     Retrieves PIN code to use for pairing with a remote device.
public  VectorgetPreknownDevices()
     Returns list of preknown devices in a Vector.
public  booleanisAuthenticated(String address)
     Checks if a remote device was authenticated.
public  booleanisBluetoothEnabled()
     Queries the power state of the Bluetooth device.
public  booleanisConnectable()
     Checks if the local device is in connectable mode.
public  booleanisEncrypted(String address)
     Checks if connections to a remote are encrypted.
public  booleanisPaired(String address)
     Checks if the local device has a bond with a remote device.
public  booleanisTrusted(String address)
     Checks if a remote device is trusted (authorized for all services).
public  voidremoveConnection(String address)
     Unregisters an existing connection to a remote device.
public  booleansetAccessCode(int accessCode)
    
public  booleansetServiceClasses(int classes)
    


Constructor Detail
JavaBCC
protected JavaBCC()(Code)
Constructs an instance.




Method Detail
addConnection
public void addConnection(String address)(Code)
Registers a new connection to a remote device.
Parameters:
  address - the Bluetooth address of the remote device



authenticate
public boolean authenticate(String address)(Code)
Authenticates remote device.
Parameters:
  address - Bluetooth address of a remote device true if the device was authenticated,false otherwise



authorize
public boolean authorize(String address, int handle)(Code)
Authorizes a Bluetooth connection.
Parameters:
  address - the Bluetooth address of the remote device
Parameters:
  handle - handle for the service record of the srvice the remotedevice is trying to access true if authorization succeeded,false otherwise



bond
public boolean bond(String address, String pin)(Code)
Initiates pairing with a remote device.
Parameters:
  address - the Bluetooth address of the device with which to pair
Parameters:
  pin - an array containing the PIN code true if the device was authenticated,false otherwise



enableBluetooth
public boolean enableBluetooth()(Code)
Enables Bluetooth radio and the Bluetooth protocol stack for use. true if the operation succeeded,false otherwise



encrypt
public boolean encrypt(String address, boolean enable)(Code)



getAccessCode
public int getAccessCode()(Code)



getBluetoothAddress
public String getBluetoothAddress()(Code)
Returns local Bluetooth address. local Bluetooth address



getConnectionCount
public int getConnectionCount(String address)(Code)
Returns the number of connections to the remote device.
Parameters:
  address - the Bluetooth address of the remote device number of connections established with the remote device



getDeviceClass
public DeviceClass getDeviceClass()(Code)



getFriendlyName
public String getFriendlyName()(Code)
Returns user-friendly name for the local device. User-friendly name for the local device, ornull if the name could not be retrieved



getFriendlyName
public String getFriendlyName(String address)(Code)
Retrieves the user-friendly name for specified remote device.
Parameters:
  address - Bluetooth address of a remote device name of the remote device, ornull if the name could not be retrieved



getPasskey
public String getPasskey(String address)(Code)
Retrieves PIN code to use for pairing with a remote device. If the PIN code is not known, PIN entry dialog is displayed.
Parameters:
  address - the Bluetooth address of the remote device string containing the PIN code



getPreknownDevices
public Vector getPreknownDevices()(Code)
Returns list of preknown devices in a Vector. Vector object containing preknown devices



isAuthenticated
public boolean isAuthenticated(String address)(Code)
Checks if a remote device was authenticated.
Parameters:
  address - Bluetooth address of a remote device true if the device was authenticated,false otherwise



isBluetoothEnabled
public boolean isBluetoothEnabled()(Code)
Queries the power state of the Bluetooth device. true is the Bluetooth device is on,false otherwise.



isConnectable
public boolean isConnectable()(Code)
Checks if the local device is in connectable mode. true if the device is connectable,false otherwise



isEncrypted
public boolean isEncrypted(String address)(Code)
Checks if connections to a remote are encrypted.
Parameters:
  address - Bluetooth address of a remote device true if connections to the device are encrypted,false otherwise



isPaired
public boolean isPaired(String address)(Code)
Checks if the local device has a bond with a remote device.
Parameters:
  address - Bluetooth address of a remote device true if the two devices were paired,false otherwise



isTrusted
public boolean isTrusted(String address)(Code)
Checks if a remote device is trusted (authorized for all services).
Parameters:
  address - Bluetooth address of a remote device true if the device is trusted,false otherwise



removeConnection
public void removeConnection(String address)(Code)
Unregisters an existing connection to a remote device.
Parameters:
  address - the Bluetooth address of the remote device



setAccessCode
public boolean setAccessCode(int accessCode)(Code)



setServiceClasses
public boolean setServiceClasses(int classes)(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.