com.sun.midp.jsr82emul |
JSR 82 Emulation
JSR 82 emulation part used in J2ME environment.
This package is not a part of JSR 82 implementation and is only
used within JSR 82 emulation mode. The emulation mode allows
running tests without real native Bluetooth libraries or hardware.
JSR 82 porting layer is a set of native methods that invoke
native and hardware functions in the real implementation.
In the emulation mode the porting layer calls functionality
implemented in this package.
JSR 82 Emulation consists of a number of emulation clients
and an emulation server. At runtime it is assumed that server
runs somewhere on the Internet in J2SE environment and provides server
sockets for connections. A client runs under J2ME VM control and
represents Bluetooth local or remote device, connection or anything
else that requires Bluetooth ether communication. Server in turn
represents Bluetooth ether.
This package contains clients implementations and related
functionality.
|
Java Source File Name | Type | Comment |
BytePack.java | Class | Utility class that packs various data to resores from byte array. |
ClientHandler.java | Class | Handles communication with a client. |
ConnectionEmul.java | Class | Emulates JSR 82 connection. |
DeviceEmul.java | Class | Emulates a Bluetooth device. |
EmulationClient.java | Class | Represents a client for JSR 82 emulation environment. |
EmulationException.java | Class | This class represents an exception to be thrown if JSR 82
emulation environment works incorrectly due to unknown reasons. |
EmulationServer.java | Class | Represents an emulation server used for JSR 82 emulation environment. |
EmulUnit.java | Interface | Emulation unit is an entity that can process requests from
porting layer. |
Log.java | Class | Keeps debug logging utils. |
Messenger.java | Class | Represents JSR 82 emulation protocol, namely messages and codes recognized
by emulation client and/or server. |
NotifierEmul.java | Class | Emulates JSR 82 notifier. |
RunnableProcessor.java | Class | Runs emulation request processing in a separate thread. |
ServerLauncher.java | Class | Standalone emulation server launcher. |
ServiceConnectionData.java | Class | Utility class that keeps service connection information, packs it
into byte array and restores form it. |