Service Console
from console import Console
| Port Name | Location | Protocol | Interfaces |
|---|---|---|---|
| ConsoleInput | local | ConsoleIface |
List of Available Interfaces
ConsoleIface
| Operation Name | Input Type | Output Type | Faults | Description |
|---|---|---|---|---|
| enableTimestamp | EnableTimestampRequest | void | - | It enables timestamp inline printing for each console output operation call: print, println Parameter format allows to specifiy the timestamp output format. Bad Format will be printed out if format value is not allowed. |
| undefined | void | - | ||
| println | undefined | void | - | |
| readLine | ReadLineRequest | string | - | Read a line from the console using a synchronous call |
| registerForInput | RegisterForInputRequest | void | - | it enables the console for input listening parameter enableSessionListener enables console input listening for more than one service session (default=false) |
| subscribeSessionListener | SubscribeSessionListener | void | - | it receives a token string which identifies a service session. it enables the session to receive inputs from the console |
| unsubscribeSessionListener | UnsubscribeSessionListener | void | - | it disables a session to receive inputs from the console, previously registered with subscribeSessionListener operation |