Console

Inclusion code:

Service Deployment

Port Name

Location

Protocol

Interfaces

ConsoleInputPort

local

-

ConsoleInputInterface

Console

-

-

ConsoleInterface

List of Available Interfaces

ConsoleInputInterface

Operation Name

Input Type

Output Type

Faults

in

InRequest

-

Operation Description

in

Invocation template:

in( request )

Request type

Type: InRequest

Type documentation: no documentation provided

type InRequest: string {
.token?: string
}

ConsoleInterface

Operation Name

Input Type

Output Type

Faults

print

undefined

void

println

undefined

void

registerForInput

RegisterForInputRequest

void

unsubscribeSessionListener

UnsubscribeSessionListener

void

subscribeSessionListener

SubscribeSessionListener

void

enableTimestamp

EnableTimestampRequest

void

Operation Description

print

Invocation template:

print@Console( request )( response )

Request type

Type: undefined

Type documentation: no documentation provided

Response type

Type: void

Type documentation: no documentation provided

println

Invocation template:

println@Console( request )( response )

Request type

Type: undefined

Type documentation: no documentation provided

Response type

Type: void

Type documentation: no documentation provided

registerForInput

Operation documentation: it enables the console for input listening parameter enableSessionListener enables console input listening for more than one service session (default=false)

Invocation template:

registerForInput@Console( request )( response )

Request type

Type: RegisterForInputRequest

Type documentation: no documentation provided

type RegisterForInputRequest: void {
.enableSessionListener?: bool
}

Response type

Type: void

Type documentation: no documentation provided

unsubscribeSessionListener

Operation documentation: it disables a session to receive inputs from the console, previously registered with subscribeSessionListener operation

Invocation template:

unsubscribeSessionListener@Console( request )( response )

Request type

Type: UnsubscribeSessionListener

Type documentation: no documentation provided

type UnsubscribeSessionListener: void {
.token: string
}

Response type

Type: void

Type documentation: no documentation provided

subscribeSessionListener

Operation documentation: it receives a token string which identifies a service session. it enables the session to receive inputs from the console

Invocation template:

subscribeSessionListener@Console( request )( response )

Request type

Type: SubscribeSessionListener

Type documentation: no documentation provided

type SubscribeSessionListener: void {
.token: string
}

Response type

Type: void

Type documentation: no documentation provided

enableTimestamp

Operation documentation: 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.

Invocation template:

enableTimestamp@Console( request )( response )

Request type

Type: EnableTimestampRequest

Type documentation: no documentation provided

type EnableTimestampRequest: bool {
.format?: string
}

Response type

Type: void

Type documentation: no documentation provided