All Downloads are FREE. Search and download functionalities are using the official Maven repository.

joynr.interlanguagetest.TestInterfaceSubscriptionPublisherImpl Maven / Gradle / Ivy

/*
 *
 * Copyright (C) 2011 - 2018 BMW Car IT GmbH
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// #####################################################
//#######################################################
//###                                                 ###
//##    WARNING: This file is generated. DO NOT EDIT   ##
//##             All changes will be lost!             ##
//###                                                 ###
//#######################################################
// #####################################################
package joynr.interlanguagetest;

import io.joynr.provider.AbstractSubscriptionPublisher;

import joynr.interlanguagetest.Enumeration;
import joynr.interlanguagetest.namedTypeCollection1.StructWithStringArray;
import joynr.interlanguagetest.namedTypeCollection2.BaseStruct;
import joynr.interlanguagetest.namedTypeCollection2.BaseStructWithoutElements;
import joynr.interlanguagetest.namedTypeCollection2.ExtendedEnumerationWithPartlyDefinedValues;
import joynr.interlanguagetest.namedTypeCollection2.ExtendedExtendedBaseStruct;
import joynr.interlanguagetest.namedTypeCollection2.ExtendedStructOfPrimitives;
import joynr.interlanguagetest.namedTypeCollection2.ExtendedTypeCollectionEnumerationInTypeCollection;
import joynr.interlanguagetest.namedTypeCollection2.MapStringString;

public class TestInterfaceSubscriptionPublisherImpl extends AbstractSubscriptionPublisher implements TestInterfaceSubscriptionPublisher {

	public final void attributeUInt8Changed(Byte attributeUInt8) {
		onAttributeValueChanged("attributeUInt8", attributeUInt8);
	}
	public final void attributeDoubleChanged(Double attributeDouble) {
		onAttributeValueChanged("attributeDouble", attributeDouble);
	}
	public final void attributeBooleanReadonlyChanged(Boolean attributeBooleanReadonly) {
		onAttributeValueChanged("attributeBooleanReadonly", attributeBooleanReadonly);
	}
	public final void attributeArrayOfStringImplicitChanged(String[] attributeArrayOfStringImplicit) {
		onAttributeValueChanged("attributeArrayOfStringImplicit", attributeArrayOfStringImplicit);
	}
	public final void attributeEnumerationChanged(Enumeration attributeEnumeration) {
		onAttributeValueChanged("attributeEnumeration", attributeEnumeration);
	}
	public final void attributeExtendedEnumerationReadonlyChanged(ExtendedEnumerationWithPartlyDefinedValues attributeExtendedEnumerationReadonly) {
		onAttributeValueChanged("attributeExtendedEnumerationReadonly", attributeExtendedEnumerationReadonly);
	}
	public final void attributeBaseStructChanged(BaseStruct attributeBaseStruct) {
		onAttributeValueChanged("attributeBaseStruct", attributeBaseStruct);
	}
	public final void attributeExtendedExtendedBaseStructChanged(ExtendedExtendedBaseStruct attributeExtendedExtendedBaseStruct) {
		onAttributeValueChanged("attributeExtendedExtendedBaseStruct", attributeExtendedExtendedBaseStruct);
	}
	public final void attributeMapStringStringChanged(MapStringString attributeMapStringString) {
		onAttributeValueChanged("attributeMapStringString", attributeMapStringString);
	}
	public final void attributeWithExceptionFromGetterChanged(Boolean attributeWithExceptionFromGetter) {
		onAttributeValueChanged("attributeWithExceptionFromGetter", attributeWithExceptionFromGetter);
	}
	public final void attributeWithExceptionFromSetterChanged(Boolean attributeWithExceptionFromSetter) {
		onAttributeValueChanged("attributeWithExceptionFromSetter", attributeWithExceptionFromSetter);
	}
	public final void attributeFireAndForgetChanged(Integer attributeFireAndForget) {
		onAttributeValueChanged("attributeFireAndForget", attributeFireAndForget);
	}

	public void fireBroadcastWithFiltering(String stringOut, String[] stringArrayOut, ExtendedTypeCollectionEnumerationInTypeCollection enumerationOut, StructWithStringArray structWithStringArrayOut, StructWithStringArray[] structWithStringArrayArrayOut) {
		fireBroadcast("broadcastWithFiltering", broadcastFilters.get("broadcastWithFiltering"), stringOut, stringArrayOut, enumerationOut, structWithStringArrayOut, structWithStringArrayArrayOut);
	}

	public void fireBroadcastWithSinglePrimitiveParameter(String stringOut, String... partitions) {
		fireMulticast("broadcastWithSinglePrimitiveParameter", partitions, stringOut);
	}

	public void fireBroadcastWithMultiplePrimitiveParameters(Double doubleOut, String stringOut, String... partitions) {
		fireMulticast("broadcastWithMultiplePrimitiveParameters", partitions, doubleOut, stringOut);
	}

	public void fireBroadcastWithSingleArrayParameter(String[] stringArrayOut, String... partitions) {
		// passing array to varargs will cause array elements to be understood as multiple parameters.
		// Cast to Object prevents this.
		fireMulticast("broadcastWithSingleArrayParameter", partitions, (Object) stringArrayOut);
	}

	public void fireBroadcastWithMultipleArrayParameters(Long[] uInt64ArrayOut, StructWithStringArray[] structWithStringArrayArrayOut, String... partitions) {
		fireMulticast("broadcastWithMultipleArrayParameters", partitions, uInt64ArrayOut, structWithStringArrayArrayOut);
	}

	public void fireBroadcastWithSingleEnumerationParameter(ExtendedTypeCollectionEnumerationInTypeCollection enumerationOut, String... partitions) {
		fireMulticast("broadcastWithSingleEnumerationParameter", partitions, enumerationOut);
	}

	public void fireBroadcastWithMultipleEnumerationParameters(ExtendedEnumerationWithPartlyDefinedValues extendedEnumerationOut, Enumeration enumerationOut, String... partitions) {
		fireMulticast("broadcastWithMultipleEnumerationParameters", partitions, extendedEnumerationOut, enumerationOut);
	}

	public void fireBroadcastWithSingleStructParameter(ExtendedStructOfPrimitives extendedStructOfPrimitivesOut, String... partitions) {
		fireMulticast("broadcastWithSingleStructParameter", partitions, extendedStructOfPrimitivesOut);
	}

	public void fireBroadcastWithMultipleStructParameters(BaseStructWithoutElements baseStructWithoutElementsOut, ExtendedExtendedBaseStruct extendedExtendedBaseStructOut, String... partitions) {
		fireMulticast("broadcastWithMultipleStructParameters", partitions, baseStructWithoutElementsOut, extendedExtendedBaseStructOut);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy