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
-
authenticationToken(String, String)
-
-
changePassword(String)
-
-
connectionPong(int)
-
-
expiryPing()
-
-
register(String)
-
-
removeLocation(int)
-
-
requestLocation(String)
-
-
setIdentity(String, String)
- Used to specify the alias and password this client should use
-
setLocation(int)
- Publish a location at the server
-
setServer(String)
- Set the location server to talk to
-
toServer(String, String)
-
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
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
setLocation
public String setLocation(int port)
- Publish a location at the server
- Parameters:
- port - This is the port for default communications
removeLocation
public String removeLocation(int port)
register
public void register(String contact)
expiryPing
public void expiryPing()
connectionPong
public void connectionPong(int port)
changePassword
public String changePassword(String newpw)
requestLocation
public String requestLocation(String oalias)
toServer
public String toServer(String s,
String rq)
authenticationToken
public String authenticationToken(String req,
String pass)
All Packages Class Hierarchy This Package Previous Next Index