Contents Developing Java Clients  

CORBA Event Interface ILanguageEvents

SAS language processing events.

Definition

CORBA Module SASEvents

ILanguageEvents Description

This event interface conveys progress and status information for the currently executing program. The event interface is implemented by the LanguageService component client and functions as a callback facility to deliver notifications from the server to the client. You can implement these event callback methods to receive feedback about the status of the currently executing program.

CORBA Definitions
 method ProcStart  Signifies that a procedure has started.
 method SubmitComplete  SAS language program execution completion event
 method ProcComplete  SAS language procedure completion event
 method DatastepStart  SAS language DATA step start event
 method DatastepComplete  SAS language DATA step complete event
 method StepError  SAS language step error event


Java Classes
 ILanguageEventsHelper  Used to manipulate the ILanguageEvents type
 ILanguageEventsHolder  Used to process the ILanguageEvents type as an out parameter


Java Interfaces
 ILanguageEvents  SAS language processing events.


Java Interface ILanguageEvents

SAS language processing events.

Package com.sas.iom.SASEvents

ILanguageEvents Description
This event interface conveys progress and status information for the currently executing program. The event interface is implemented by the LanguageService component client and functions as a callback facility to deliver notifications from the server to the client. You can implement these event callback methods to receive feedback about the status of the currently executing program.

public interface ILanguageEvents
extends org.omg.CORBA.Object

Method Summary

 void ProcStart ( java.lang.String procname )
throws ( GenericError );

Signifies that a procedure has started.

 void SubmitComplete ( int sasrc )
throws ( GenericError );

SAS language program execution completion event

 void ProcComplete ( java.lang.String procname )
throws ( GenericError );

SAS language procedure completion event

 void DatastepStart ()

SAS language DATA step start event

 void DatastepComplete ()

SAS language DATA step complete event

 void StepError ()

SAS language step error event


CORBA Method ProcStart

Signifies that a procedure has started.

Description
The procedure identified by the "procname" parameter has begun execution.

Usage

Java Method ProcStart

void ProcStart (

    java.lang.String procname 
    )
    throws (
            GenericError
    );

Parameter Details

Parameter Direction Type Description
procname  in  java.lang.String  The name of the procedure that has begun execution.  


CORBA Method SubmitComplete

SAS language program execution completion event

Description
The current program execution frame has completed.

Usage

Java Method SubmitComplete

void SubmitComplete (

    int sasrc 
    )
    throws (
            GenericError
    );

Parameter Details

Parameter Direction Type Description
sasrc  in  int  SAS return code when the submitted code completes.  


CORBA Method ProcComplete

SAS language procedure completion event

Description
The procedure identified by the "procname" parameter has completed execution.

Usage

Java Method ProcComplete

void ProcComplete (

    java.lang.String procname 
    )
    throws (
            GenericError
    );

Parameter Details

Parameter Direction Type Description
procname  in  java.lang.String  The name of the procedure that has completed execution.  


CORBA Method DatastepStart

SAS language DATA step start event

Description
A DATA step has begun execution.

Usage

Java Method DatastepStart

void DatastepStart ( )


CORBA Method DatastepComplete

SAS language DATA step complete event

Description
A DATA step has completed execution.

Usage

Java Method DatastepComplete

void DatastepComplete ( )


CORBA Method StepError

SAS language step error event

Description
An error occurred for a step in the current program execution frame.

Usage

Java Method StepError

void StepError ( )


Contents Developing Java Clients