Class org.as2lib.io.conn.core.event.MethodInvocationReturnInfo

Description

MethodInvocationReturnInfo informs clients that the method invocation returned successfully.

This class is used in conjunction with the MethodInvocationCallback and MethodInvocationReturnListener classes.

Method Index

new MethodInvocationReturnInfo()
getMethodArguments(), getMethodName(), getReturnValue(), getServiceUrl()

Inherited from BasicClass

Constructor Detail

MethodInvocationReturnInfo

public function MethodInvocationReturnInfo(serviceUrl:String, methodName:String, methodArguments:Array, returnValue)

Constructs a new MethodInvocationReturnInfo instance.

Parameters

serviceUrlthe url to the service the method was invoked on
methodNamethe name of the method that was invoked
methodArgumentsthe arguments used as parameters for the method invocation
returnValuethe result of the method invocation

Method Detail

getServiceUrl

public function getServiceUrl(Void):String

Returns the url to the service the method was invoked on.

Return

the url to the service the method was invoked on

getMethodName

public function getMethodName(Void):String

Returns the name of the method that was invoked on the service

Return

the name of the method that was invoked on the service

getMethodArguments

public function getMethodArguments(Void):Array

Returns the arguments used as parameters for the method invocation.

Return

the arguments used as parameters for the method invocation

getReturnValue

public function getReturnValue(Void)