Search in sources :

Example 11 with ExtendedExtendedBaseStruct

use of joynr.interlanguagetest.namedTypeCollection2.ExtendedExtendedBaseStruct in project joynr by bmwcarit.

the class IltProvider method methodToFireBroadcastWithMultipleStructParameters.

/*
     * methodToFireBroadcastWithMultipleStructParameters
     */
@Override
public Promise<DeferredVoid> methodToFireBroadcastWithMultipleStructParameters(String[] partitions) {
    logger.warn("**********************************************************************");
    logger.warn("* IltProvider.methodToFireBroadcastWithMultipleStructParameters called");
    logger.warn("**********************************************************************");
    DeferredVoid deferred = new DeferredVoid();
    BaseStructWithoutElements baseStructWithoutElementsOut = IltUtil.createBaseStructWithoutElements();
    ExtendedExtendedBaseStruct extendedExtendedBaseStructOut = IltUtil.createExtendedExtendedBaseStruct();
    fireBroadcastWithMultipleStructParameters(baseStructWithoutElementsOut, extendedExtendedBaseStructOut, partitions);
    deferred.resolve();
    return new Promise<DeferredVoid>(deferred);
}
Also used : Promise(io.joynr.provider.Promise) ExtendedExtendedBaseStruct(joynr.interlanguagetest.namedTypeCollection2.ExtendedExtendedBaseStruct) BaseStructWithoutElements(joynr.interlanguagetest.namedTypeCollection2.BaseStructWithoutElements) DeferredVoid(io.joynr.provider.DeferredVoid)

Aggregations

ExtendedExtendedBaseStruct (joynr.interlanguagetest.namedTypeCollection2.ExtendedExtendedBaseStruct)11 ProviderRuntimeException (joynr.exceptions.ProviderRuntimeException)7 BaseStructWithoutElements (joynr.interlanguagetest.namedTypeCollection2.BaseStructWithoutElements)5 Test (org.junit.Test)5 Promise (io.joynr.provider.Promise)2 JoynrRuntimeException (io.joynr.exceptions.JoynrRuntimeException)1 DeferredVoid (io.joynr.provider.DeferredVoid)1 ApplicationException (joynr.exceptions.ApplicationException)1 MethodWithMultipleStructParametersCallback (joynr.interlanguagetest.TestInterfaceAsync.MethodWithMultipleStructParametersCallback)1 MethodWithMultipleStructParametersFuture (joynr.interlanguagetest.TestInterfaceAsync.MethodWithMultipleStructParametersFuture)1 MethodWithMultipleStructParametersReturned (joynr.interlanguagetest.TestInterfaceSync.MethodWithMultipleStructParametersReturned)1 BaseStruct (joynr.interlanguagetest.namedTypeCollection2.BaseStruct)1 ExtendedStructOfPrimitives (joynr.interlanguagetest.namedTypeCollection2.ExtendedStructOfPrimitives)1