J-Integra® Espresso Programming Documentation (API)

Delegate.invoke Method

invoke is called by a stub to invoke an operation. The stub provides an OutputStream that was previously returned by a request() call. invoke returns an InputStream which contains the marshaled reply. If an exception occurs, invoke may throw an ApplicationException object which contains an InputStream from which the user exception state may be unmarshaled.

InputStream invoke(
 CORBA.Object self,
 OutputStream outStream
);

Parameters

self
The object reference which delegated to this delegate.
outStream
The OutputStream which contains marshaled arguments.

Return Value

input the InputStream from which reply parameters can be unmarshaled.

Remarks

none

Exceptions

ApplicationException - thrown when implementation throws (upon invocation) an exception defined as part of its remote method definition.
RemarshalException - thrown when remarshalling fails.

See Also

Delegate Interface | Delegate Members | CORBA.portable Namespace | Ics.CORBA Namespace