JolieDoc for Port Runtime
From file runtime.iol
| Port Name | Location | Protocol |
|---|---|---|
| Runtime |
List of the available interfaces
Interface RuntimeInterface
| Heading | Input type | Output type | Faults |
|---|---|---|---|
| callExit | any |
void |
|
| dumpState | void |
string |
|
| getIncludePaths | void |
GetIncludePathResponse |
|
| getLocalLocation | void |
any |
|
| getOutputPort | GetOutputPortRequest |
GetOutputPortResponse |
OutputPortDoesNotExist, |
| getOutputPorts | void |
GetOutputPortsResponse |
|
| getProcessId | void |
string |
|
| getRedirection | GetRedirectionRequest |
any |
|
| halt | HaltRequest |
void |
|
| loadEmbeddedService | LoadEmbeddedServiceRequest |
any |
RuntimeException( RuntimeExceptionType ) |
| loadLibrary | string |
void |
IOException( IOExceptionType ) |
| removeOutputPort | string |
void |
|
| removeRedirection | GetRedirectionRequest |
void |
RuntimeException( RuntimeExceptionType ) |
| setMonitor | SetMonitorRequest |
void |
|
| setOutputPort | SetOutputPortRequest |
void |
|
| setRedirection | SetRedirectionRequest |
void |
RuntimeException( RuntimeExceptionType ) |
| stats | void |
Stats |
Operation list
loadLibrary( string )( void ) throws IOException( IOExceptionType )
removeOutputPort( string )( void )
setRedirection( SetRedirectionRequest )( void ) throws RuntimeException( RuntimeExceptionType )
getOutputPorts( void )( GetOutputPortsResponse )
it returns the list of definitions of all the available outputPorts of the service
loadEmbeddedService( LoadEmbeddedServiceRequest )( any ) throws RuntimeException( RuntimeExceptionType )
getOutputPort( GetOutputPortRequest )( GetOutputPortResponse ) throws OutputPortDoesNotExist
it returns a port definition if it exists, OuputPortDoesNotExist fault otherwise
dumpState( void )( string )
getLocalLocation( void )( any )
getRedirection( GetRedirectionRequest )( any )
setOutputPort( SetOutputPortRequest )( void )
halt( HaltRequest )( void )
callExit( any )( void )
stats( void )( Stats )
Get information about the runtime state of the Jolie interpreter.
removeRedirection( GetRedirectionRequest )( void ) throws RuntimeException( RuntimeExceptionType )
setMonitor( SetMonitorRequest )( void )
getProcessId( void )( string )
getIncludePaths( void )( GetIncludePathResponse )
Message type list
IOExceptionType
type IOExceptionType: JavaExceptionType
SetRedirectionRequest
type SetRedirectionRequest: void {
.inputPortName: string
.outputPortName: string
.resourceName: string
}
RuntimeExceptionType
type RuntimeExceptionType: JavaExceptionType
GetOutputPortsResponse
type GetOutputPortsResponse: void {
.port*: void {
.protocol: string
.name: string
.location: string
}
}
LoadEmbeddedServiceRequest
type LoadEmbeddedServiceRequest: void {
.filepath: string
.type: string
}
GetOutputPortRequest
type GetOutputPortRequest: void {
.name: string
}
GetOutputPortResponse
type GetOutputPortResponse: void {
.protocol: string
.name: string
.location: string
}
GetRedirectionRequest
type GetRedirectionRequest: void {
.inputPortName: string
.resourceName: string
}
SetOutputPortRequest
type SetOutputPortRequest: void {
.protocol?: undefined
.name: string
.location: any
}
HaltRequest
type HaltRequest: void {
.status?: int
}
Stats
type Stats: void {
.os: void {
.availableProcessors: int
.systemLoadAverage: double
.name: string
.arch: string
.version: string
}
.files: void {
.openCount?: long
.maxCount?: long
}
}
SetMonitorRequest
type SetMonitorRequest: void {
.protocol?: undefined
.location: any
}
GetIncludePathResponse
type GetIncludePathResponse: void {
.path*: string
}