NetworkService

Inclusion code:

Service Deployment
Port NameLocationProtocolInterfaces
NetworkService documentation:
NetworkService--NetworkServiceInterface

List of Available Interfaces

NetworkServiceInterface

Interface documentation:

Operation NameInput TypeOutput TypeFaults
getNetworkInterfaceNamesGetNetworkInterfaceNamesRequestGetNetworkInterfaceNamesResponse
getIPAddressesGetIPAddressesRequestGetIPAddressesResponseInterfaceNotFound( undefined )

Operation Description

getNetworkInterfaceNames

Operation documentation:

Invocation template:

getNetworkInterfaceNames@NetworkService( request )( response )

Request type

Type: GetNetworkInterfaceNamesRequest

GetNetworkInterfaceNamesRequest : void

Response type

Type: GetNetworkInterfaceNamesResponse

type GetNetworkInterfaceNamesResponse: void {
    .interfaceName*: string {
        .displayName: string
    }
}

GetNetworkInterfaceNamesResponse : void

  • interfaceName : string
    • displayName : string

getIPAddresses

Operation documentation:

Invocation template:

getIPAddresses@NetworkService( request )( response )

Request type

Type: GetIPAddressesRequest

type GetIPAddressesRequest: void {
    .interfaceName: string
}

GetIPAddressesRequest : void

  • interfaceName : string

Response type

Type: GetIPAddressesResponse

type GetIPAddressesResponse: void {
    .ip4?: string
    .ip6?: string
}

GetIPAddressesResponse : void

  • ip4 : string
  • ip6 : string

Possible faults thrown

Fault InterfaceNotFound with type undefined

Fault-handling install template:

install ( InterfaceNotFound => /* error-handling code */ )