Class TempClient

java.lang.Object
  |
  +--nl.tbdev.IR.ConnectionCallback
        |
        +--TempClient
All Implemented Interfaces:
ConnectionCallbackInterface, DiscoveryCallbackInterface, IasQueryCallbackInterface

class TempClient
extends ConnectionCallback
implements DiscoveryCallbackInterface, IasQueryCallbackInterface


Field Summary
(package private)  java.lang.String temperature
           
 
Fields inherited from class nl.tbdev.IR.ConnectionCallback
connection
 
Constructor Summary
(package private) TempClient()
           
 
Method Summary
 void connectionCallbackConfirm(byte[] data)
          called whenever a connection request succeeds Default implementation does nothing.
 void connectionCallbackConnect(byte[] data)
          called whenever a connection request for this service is received.
 void connectionCallbackData(byte[] data)
          called whenever data is received for this service.
 void connectionCallbackDisconnect()
          called on all LAP disconnects
 void connectionCallbackLink()
          called whenever a link connection is established Default implementation does nothing.
 void discoveryCallback(java.util.Vector devices)
          called after a discovery cycle (initiated with discovery request)
 void iasQueryCallback(java.util.Vector results)
          called whenever an IAS Query returned a result.
 
Methods inherited from class nl.tbdev.IR.ConnectionCallback
setConnection
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

temperature

java.lang.String temperature
Constructor Detail

TempClient

TempClient()
Method Detail

connectionCallbackConnect

public void connectionCallbackConnect(byte[] data)
Description copied from class: ConnectionCallback
called whenever a connection request for this service is received. Default implementation does not accept connections
Overrides:
connectionCallbackConnect in class ConnectionCallback

connectionCallbackConfirm

public void connectionCallbackConfirm(byte[] data)
Description copied from class: ConnectionCallback
called whenever a connection request succeeds Default implementation does nothing.
Overrides:
connectionCallbackConfirm in class ConnectionCallback

connectionCallbackData

public void connectionCallbackData(byte[] data)
Description copied from class: ConnectionCallback
called whenever data is received for this service. Default implementation does nothing.
Overrides:
connectionCallbackData in class ConnectionCallback
Following copied from class: nl.tbdev.IR.ConnectionCallback
Parameters:
data - contains the application level data, no IrDA frame headers.

connectionCallbackDisconnect

public void connectionCallbackDisconnect()
Description copied from class: ConnectionCallback
called on all LAP disconnects
Overrides:
connectionCallbackDisconnect in class ConnectionCallback

discoveryCallback

public void discoveryCallback(java.util.Vector devices)
Description copied from interface: DiscoveryCallbackInterface
called after a discovery cycle (initiated with discovery request)
Specified by:
discoveryCallback in interface DiscoveryCallbackInterface
Following copied from interface: nl.tbdev.IR.DiscoveryCallbackInterface
Returns:
Vector with Device objects for all discovered devices

connectionCallbackLink

public void connectionCallbackLink()
Description copied from class: ConnectionCallback
called whenever a link connection is established Default implementation does nothing.
Overrides:
connectionCallbackLink in class ConnectionCallback

iasQueryCallback

public void iasQueryCallback(java.util.Vector results)
Description copied from interface: IasQueryCallbackInterface
called whenever an IAS Query returned a result.
Specified by:
iasQueryCallback in interface IasQueryCallbackInterface