| java.lang.Object com.sun.midp.jsr82emul.ClientHandler
ClientHandler | class ClientHandler implements Runnable(Code) | | Handles communication with a client.
|
Field Summary | |
byte[] | bluetoothAddress Bluetooth address of device or device emulation client belongs to. | Hashtable | deviceServices if this handler handles device, then keeps services available at it,
else null . | DeviceState | deviceState Keeps device state if this handler handles device,
null otherwise. | int | handle Handle that identifies corresponding data on server. | byte[] | ipAddress If not null , IP address of computer client works at. |
Method Summary | |
public void | run() Implements Runnable , processes client's rquests. |
bluetoothAddress | byte[] bluetoothAddress(Code) | | Bluetooth address of device or device emulation client belongs to.
|
deviceServices | Hashtable deviceServices(Code) | | if this handler handles device, then keeps services available at it,
else null .
|
deviceState | DeviceState deviceState(Code) | | Keeps device state if this handler handles device,
null otherwise.
|
handle | int handle(Code) | | Handle that identifies corresponding data on server.
|
ipAddress | byte[] ipAddress(Code) | | If not null , IP address of computer client works at.
|
ClientHandler | ClientHandler(SocketConnection connection) throws Exception(Code) | | Constructs client handle to communicate with a client thru
given connection.
Parameters: connection - an open connection with a client on the other side exception: IOException - if connection fails |
run | public void run()(Code) | | Implements Runnable , processes client's rquests.
|
|
|