Class Client

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

class Client
extends ConnectionCallback
implements DiscoveryCallbackInterface, IasQueryCallbackInterface


Fields inherited from class nl.tbdev.IR.ConnectionCallback
connection
 
Constructor Summary
(package private) Client()
           
 
Method Summary
 void connectionCallbackConfirm()
           
 boolean connectionCallbackConnect()
           
 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
connectionCallbackConfirm, connectionCallbackConnect, setConnection
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Client

Client()
Method Detail

connectionCallbackConnect

public boolean connectionCallbackConnect()

connectionCallbackConfirm

public void connectionCallbackConfirm()

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