use of io.joynr.provider.DeferredVoid in project joynr by bmwcarit.
the class IltProvider method methodToFireBroadcastWithMultipleArrayParameters.
/*
* methodToFireBroadcastWithMultipleArrayParameters
*/
@Override
public Promise<DeferredVoid> methodToFireBroadcastWithMultipleArrayParameters(String[] partitions) {
logger.warn("*********************************************************************");
logger.warn("* IltProvider.methodToFireBroadcastWithMultipleArrayParameters called");
logger.warn("*********************************************************************");
DeferredVoid deferred = new DeferredVoid();
Long[] uInt64ArrayOut = IltUtil.createUInt64Array();
StructWithStringArray[] structWithStringArrayArrayOut = IltUtil.createStructWithStringArrayArray();
fireBroadcastWithMultipleArrayParameters(uInt64ArrayOut, structWithStringArrayArrayOut, partitions);
deferred.resolve();
return new Promise<DeferredVoid>(deferred);
}
use of io.joynr.provider.DeferredVoid in project joynr by bmwcarit.
the class IltProvider method methodToFireBroadcastWithFiltering.
/*
* methodToFireBroadcastWithFiltering
*/
@Override
public Promise<DeferredVoid> methodToFireBroadcastWithFiltering(String stringArg) {
logger.warn("*******************************************************");
logger.warn("* IltProvider.methodToFireBroadcastWithFiltering called");
logger.warn("*******************************************************");
DeferredVoid deferred = new DeferredVoid();
// take the stringArg as input for the filtering
String stringOut = stringArg;
String[] stringArrayOut = IltUtil.createStringArray();
ExtendedTypeCollectionEnumerationInTypeCollection enumerationOut = ExtendedTypeCollectionEnumerationInTypeCollection.ENUM_2_VALUE_EXTENSION_FOR_TYPECOLLECTION;
StructWithStringArray structWithStringArrayOut = IltUtil.createStructWithStringArray();
StructWithStringArray[] structWithStringArrayArrayOut = IltUtil.createStructWithStringArrayArray();
fireBroadcastWithFiltering(stringOut, stringArrayOut, enumerationOut, structWithStringArrayOut, structWithStringArrayArrayOut);
deferred.resolve();
return new Promise<DeferredVoid>(deferred);
}
use of io.joynr.provider.DeferredVoid in project joynr by bmwcarit.
the class IltProvider method methodToFireBroadcastWithMultipleEnumerationParameters.
/*
* methodToFireBroadcastWithMultipleEnumerationParameters
*/
@Override
public Promise<DeferredVoid> methodToFireBroadcastWithMultipleEnumerationParameters(String[] partitions) {
logger.warn("***************************************************************************");
logger.warn("* IltProvider.methodToFireBroadcastWithMultipleEnumerationParameters called");
logger.warn("***************************************************************************");
DeferredVoid deferred = new DeferredVoid();
deferred.resolve();
ExtendedEnumerationWithPartlyDefinedValues extendedEnumerationOut = ExtendedEnumerationWithPartlyDefinedValues.ENUM_2_VALUE_EXTENSION_FOR_ENUM_WITHOUT_DEFINED_VALUES;
Enumeration enumerationOut = Enumeration.ENUM_0_VALUE_1;
fireBroadcastWithMultipleEnumerationParameters(extendedEnumerationOut, enumerationOut, partitions);
return new Promise<DeferredVoid>(deferred);
}
use of io.joynr.provider.DeferredVoid in project joynr by bmwcarit.
the class IltProvider method methodToFireBroadcastWithSingleArrayParameter.
/*
* methodToFireBroadcastWithSingleArrayParameter
*/
@Override
public Promise<DeferredVoid> methodToFireBroadcastWithSingleArrayParameter(String[] partitions) {
logger.warn("******************************************************************");
logger.warn("* IltProvider.methodToFireBroadcastWithSingleArrayParameter called");
logger.warn("******************************************************************");
DeferredVoid deferred = new DeferredVoid();
String[] stringArrayOut = IltUtil.createStringArray();
fireBroadcastWithSingleArrayParameter(stringArrayOut, partitions);
deferred.resolve();
return new Promise<DeferredVoid>(deferred);
}
use of io.joynr.provider.DeferredVoid in project joynr by bmwcarit.
the class IltProvider method methodToFireBroadcastWithSinglePrimitiveParameter.
/*
* methodToFireBroadcastWithSinglePrimitiveParameter
*/
@Override
public Promise<DeferredVoid> methodToFireBroadcastWithSinglePrimitiveParameter(String[] partitions) {
logger.warn("**********************************************************************");
logger.warn("* IltProvider.methodToFireBroadcastWithSinglePrimitiveParameter called");
logger.warn("**********************************************************************");
DeferredVoid deferred = new DeferredVoid();
String stringOut = "boom";
fireBroadcastWithSinglePrimitiveParameter(stringOut, partitions);
deferred.resolve();
return new Promise<DeferredVoid>(deferred);
}
Aggregations