Object <- Means <- DialupPPPMeans |
|
|
AcceptEdit BeginEdit NewDataLink StopEditing |
|
Description DomesticNumber EditSteps IsComplete LocalIPAddress OptionEditSteps UseTerminalWindow |
| Field | Type | |
|---|---|---|
| Means: | image: | Image |
| driver: | Object | |
| HasPhoneNumber: | phoneNumber: | Text |
| HasAccountInfo: | accountName: | Text |
| password: | Text | |
| promptForPassword: | Boolean | |
| DialupPPPMeans: | localIPAddress: | Unsigned |
| useTerminalWindow: | Boolean |
instance DialupPPPMeans tag; image: nilObject; driver: nilObject; phoneNumber: nilObject; accountName: nilObject; password: nilObject; promptForPassword: false; localIPAddress: 0; useTerminalWindow: false; end instance;
Define Class DialupPPPMeans; inherits from Means; inherits from HasPhoneNumber; inherits from HasDataLink; inherits from HasAccountInfo; field localIPAddress: Unsigned, getter, setter; field useTerminalWindow: Boolean, getter, setter; attribute LocalIPAddress: Unsigned; attribute UseTerminalWindow: Boolean; overrides Description; overrides EditSteps; overrides OptionEditSteps; overrides IsComplete; // checks whether the phone number is valid overrides SetDomesticNumber; // strips phone control characters out of the number before setting it overrides BeginEdit, AcceptEdit, StopEditing; // adds prompt-for-password checkbox to account/password panel when editing overrides NewDataLink; // creates a new PPPServer_ instance in transient memory and // initializes it with 'accountName' & 'password'. end class;