|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object airline.CustomerSession
public class CustomerSession
Manages the flow of control for a session with a registered Customer
.
Field Summary | |
---|---|
private Connection |
connect
The Connection instance managing the front-end interactions for this session. |
private Customer |
customer
The Customer instance associated with this session. |
Constructor Summary | |
---|---|
CustomerSession(Customer customer,
Connection connect)
Instantiates a new session for the given Customer and the given front-end Connection. |
Method Summary | |
---|---|
void |
mainDialog()
The main menu is first presented to a Customer immediately after logging in. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Connection connect
private Customer customer
Constructor Detail |
---|
public CustomerSession(Customer customer, Connection connect)
mainDialog()
.
customer
- The Customer instance associated with this sessionconnect
- The Connection instance managing the front-end interactions for this sessionMethod Detail |
---|
public void mainDialog()
mainDialog
in interface UserSession
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |