Package
Class
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
E
H
L
M
P
R
S
T
U
A
AdminGui
- class tourguide.
AdminGui
.
Implements a simple administrator/operator GUI for the TourGuide service.
AdminGui(ServiceLogic)
- Constructor for class tourguide.
AdminGui
Initializes GUI elements.
addImage(BufferedImage)
- Method in class tourguide.
MimeContent
Adds an jpeg image to the document.
addTextList(List)
- Method in class tourguide.
MimeContent
Adds a list of text strings to the document.
addTextMedia(String)
- Method in class tourguide.
MimeContent
Adds a text part to the document.
B
byteArrayContent()
- Method in class tourguide.
MimeContent
Provides the MIME document content.
C
Configuration
- class tourguide.
Configuration
.
Loads configuration data (singleton).
createMimeContent(double, double, int, int)
- Method in class tourguide.
PointsOfInterest
Produces a MIME document with a location map and a list of points of interest (POI).
E
extendedLocationReportRes(int, TpUserLocationExtended[])
- Method in class tourguide.
LocationProcessor
Reports the user location to the service.
H
hosaSendMessageErr(int, TpHosaSendMessageError[])
- Method in class tourguide.
MMSProcessor
Processes a failed MMS send notification.
hosaSendMessageErr(int, TpHosaSendMessageError[])
- Method in class tourguide.
SMSProcessor
Processes a failed SMS send notification.
hosaSendMessageRes(int, TpHosaSendMessageReport[])
- Method in class tourguide.
MMSProcessor
Processes a sucessful MMS send notification.
hosaSendMessageRes(int, TpHosaSendMessageReport[])
- Method in class tourguide.
SMSProcessor
Processes a sucessful SMS send notification.
L
LocationProcessor
- class tourguide.
LocationProcessor
.
Implements handlers for User Location interactions.
LocationProcessor(IpUserLocation, ServiceLogic)
- Constructor for class tourguide.
LocationProcessor
Initializes instance variables.
load(String)
- Method in class tourguide.
Configuration
Loads the configuration file.
locationReceived(String, float, float)
- Method in class tourguide.
ServiceLogic
Creates and sends MMS with the location map.
M
MMSProcessor
- class tourguide.
MMSProcessor
.
Implements handlers for MMS interactions.
MMSProcessor(IpHosaUIManager, ServiceLogic)
- Constructor for class tourguide.
MMSProcessor
Initializes instance variables.
MimeContent
- class tourguide.
MimeContent
.
Helps compose a MIME document.
MimeContent()
- Constructor for class tourguide.
MimeContent
main(String[])
- Static method in class tourguide.
TourGuide
P
PROPERTIES
- Static variable in class tourguide.
Configuration
Configuration singleton.
PointsOfInterest
- class tourguide.
PointsOfInterest
.
Produces a MIME document with a location map and a list of points of interest (POI).
PointsOfInterest(String)
- Constructor for class tourguide.
PointsOfInterest
Loads a POI configuration file.
R
reportEventNotification(TpUIIdentifier, TpUIEventNotificationInfo, int)
- Method in class tourguide.
SMSProcessor
Called by the UI manager to report a notification.
reportNotification(TpUIIdentifier, TpUIEventInfo, int)
- Method in class tourguide.
SMSProcessor
Called by the UI manager to report a notification.
requestLocation(String)
- Method in class tourguide.
LocationProcessor
Requests a location information for a users.
S
SMSProcessor
- class tourguide.
SMSProcessor
.
Implements handlers for SMS interactions.
SMSProcessor(IpHosaUIManager, ServiceLogic)
- Constructor for class tourguide.
SMSProcessor
Initializes instance variables.
ServiceLogic
- class tourguide.
ServiceLogic
.
Implements the main logic flow of the service.
ServiceLogic()
- Constructor for class tourguide.
ServiceLogic
Creates PointsOfInterest object.
sendMMS(String, String, byte[], String)
- Method in class tourguide.
MMSProcessor
Sends MMS.
sendSMS(String, String, String)
- Method in class tourguide.
SMSProcessor
Sends SMS.
setGui(AdminGui)
- Method in class tourguide.
ServiceLogic
Registers a GUI reference for future status updates.
showGui()
- Method in class tourguide.
AdminGui
Shows the dialog window.
showStatus()
- Method in class tourguide.
ServiceLogic
Used to update a status field on the screen.
smsReceived(String, String, String)
- Method in class tourguide.
ServiceLogic
Requests the location of the SMS sender.
start(int)
- Method in class tourguide.
ServiceLogic
Activates the service by requesting SMS notifications from the Parlay gateway.
startEnabled()
- Method in class tourguide.
ServiceLogic
Validates that the service can be started.
startNotifications(String)
- Method in class tourguide.
SMSProcessor
Enables SMS receiving (starts notifications).
stop()
- Method in class tourguide.
ServiceLogic
Deactivates the service by stopping the SMS notifications.
stopEnabled()
- Method in class tourguide.
ServiceLogic
Validates that the service can be stopped.
stopNotifications(int)
- Method in class tourguide.
SMSProcessor
Disables SMS receiving (stops notifications).
T
TourGuide
- class tourguide.
TourGuide
.
Implements the main() function and creates Configuration, ServiceLogic, and AdminGui objects.
TourGuide()
- Constructor for class tourguide.
TourGuide
Creates Configuration, ServiceLogic, and AdminGui objects.
terminate()
- Method in class tourguide.
ServiceLogic
Terminates the TourGuide service.
tourguide
- package tourguide
TourGuide is a sample Parlay application that implements a location-based service for mobile devices (phones).
U
updateStatus(String)
- Method in class tourguide.
AdminGui
Updates the status bar on request from ServiceLogic.
A
B
C
E
H
L
M
P
R
S
T
U
Package
Class
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes