|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--suncertify.remoteClient.DataClient
The DataClient for the FlightByNight Reservation System. It does the connection with the remote server and calls methods remotely. It provides routine to:
Constructor Summary | |
DataClient(java.lang.String host)
The Class Constructor which makes a lookup of the remote Objects that represents the database for flights schedules, flights reservation status and reservation details. |
Method Summary | |
java.lang.String[][] |
bookTickets(java.lang.String[][] travellers,
java.lang.String[] flight)
The method to book tickets on a flight that is chosen. |
boolean |
cancelReservation(DataInfo reserDet)
The Method to cancel a reservation. |
java.lang.String[][] |
findFlights(java.lang.String criteria)
The method to get the details of the flights which meets the Customers' requirements. |
DataInfo[] |
findReservations(java.lang.String criteria)
The method to find out reservations details for inquiry purposes. |
java.lang.String[][] |
findStatus(java.lang.String criteria)
The method to check the booking status of a flight on a particular date. |
DataInfo[] |
getFltsSchedules(java.lang.String criteria)
The method to get the schedules of flights from the flight schedule master database. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public DataClient(java.lang.String host) throws DataClientException
Method Detail |
public DataInfo[] getFltsSchedules(java.lang.String criteria) throws DataClientException
criteria
- : The query criteria for the flights schedule.public java.lang.String[][] findFlights(java.lang.String criteria) throws DataClientException
criteria
- : The customers' requirementspublic java.lang.String[][] bookTickets(java.lang.String[][] travellers, java.lang.String[] flight) throws DataClientException
flight
- : all informations about the flight into which
booking is to be done.It does not contain the available field.public DataInfo[] findReservations(java.lang.String criteria) throws DataClientException
criteria
- : condition the reservation detail must meet.public boolean cancelReservation(DataInfo reserDet) throws DataClientException
reserDet
- : Details about the reservation which is to be cancelled.public java.lang.String[][] findStatus(java.lang.String criteria) throws DataClientException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |