Interface part

Interface parts provide access to a remote service, such as a web service.

An EGL Interface part has the following characteristics:
  • Typically provides access to remote services, but can provide access to local services when you want to restrict access to the source code.
  • Includes a set of function prototypes. Each function prototype ends with a semicolon (;) and includes a function name, parameter list, and return type. See Function prototypes.
  • Cannot be used directly in code; instead, you must create a variable that is based on the Interface part. The variable refers to a service that you run from a specific location (URI).
  • Must be bound to the location of the service implementation to access a service. A deployment descriptor file binds the interface part to the location.
For more information, see Introduction to Interface parts.

Syntax


Syntax diagram for an Interface part
interfaceName
Specifies a name for the interface.
functionPrototype
Each prototype has an ending semicolon (;) and includes only a function name, parameter list, and return type.