|
||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Connection in airline |
---|
Subclasses of Connection in airline | |
---|---|
class |
TextConnection
Console-based front end for the airline system. |
Fields in airline declared as Connection | |
---|---|
private Connection |
CustomerSession.connect
The Connection instance managing the front-end interactions for this session. |
private Connection |
AdministratorSession.connect
The Connection instance managing the front-end interactions for this session. |
Methods in airline with parameters of type Connection | |
---|---|
UserSession |
Customer.getSession(Connection connect)
Overrides the factory function User.getSession in
order to provide an appropriate CustomerSession . |
abstract UserSession |
User.getSession(Connection connection)
A factory function producing an appropriate UserSession for this user. |
UserSession |
Administrator.getSession(Connection connect)
Overrides the factory function User.getSession in
order to provide an appropriate AdministratorSession . |
Constructors in airline with parameters of type Connection | |
---|---|
AdministratorSession(Administrator administrator,
Connection connect)
Instantiates a new session for the given Administrator and the given front-end Connection. |
|
CustomerSession(Customer customer,
Connection connect)
Instantiates a new session for the given Customer and the given front-end Connection. |
|
||||||||
PREV NEXT | FRAMES NO FRAMES |