All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class beacon.BClient

java.lang.Object
   |
   +----beacon.BClient

public class BClient
extends Object
The BClient class provides a standard interface to location services. Any user interface planning to publish locations should do so through the BClient


Method Index

 o authenticationToken(String, String)
 o changePassword(String)
 o connectionPong(int)
 o expiryPing()
 o register(String)
 o removeLocation(int)
 o requestLocation(String)
 o setIdentity(String, String)
Used to specify the alias and password this client should use
 o setLocation(int)
Publish a location at the server
 o setServer(String)
Set the location server to talk to
 o toServer(String, String)

Methods

 o setServer
 public void setServer(String serverURL)
Set the location server to talk to

Parameters:
serverURL - This is a string which specifies the URL for the location server
 o setIdentity
 public void setIdentity(String a,
                         String p)
Used to specify the alias and password this client should use

Parameters:
a - The alias
p - The password
 o setLocation
 public String setLocation(int port)
Publish a location at the server

Parameters:
port - This is the port for default communications
 o removeLocation
 public String removeLocation(int port)
 o register
 public void register(String contact)
 o expiryPing
 public void expiryPing()
 o connectionPong
 public void connectionPong(int port)
 o changePassword
 public String changePassword(String newpw)
 o requestLocation
 public String requestLocation(String oalias)
 o toServer
 public String toServer(String s,
                        String rq)
 o authenticationToken
 public String authenticationToken(String req,
                                   String pass)

All Packages  Class Hierarchy  This Package  Previous  Next  Index