joynr.interlanguagetest.TestInterfaceBroadcastInterface 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.dispatcher.rpc.annotation.JoynrMulticast;
import io.joynr.dispatcher.rpc.annotation.JoynrRpcBroadcast;
import io.joynr.dispatcher.rpc.JoynrBroadcastSubscriptionInterface;
import io.joynr.exceptions.SubscriptionException;
import io.joynr.proxy.Future;
import io.joynr.pubsub.subscription.BroadcastSubscriptionListener;
import joynr.OnChangeSubscriptionQos;
import joynr.BroadcastFilterParameters;
import joynr.MulticastSubscriptionQos;
import joynr.interlanguagetest.Enumeration;
import joynr.interlanguagetest.namedTypeCollection1.StructWithStringArray;
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;
public interface TestInterfaceBroadcastInterface extends JoynrBroadcastSubscriptionInterface, TestInterface {
public interface BroadcastWithSinglePrimitiveParameterBroadcastListener extends BroadcastSubscriptionListener {
public void onReceive(String stringOut);
}
public class BroadcastWithSinglePrimitiveParameterBroadcastAdapter implements BroadcastWithSinglePrimitiveParameterBroadcastListener {
public void onReceive(String stringOut) {
// empty implementation
}
public void onError(SubscriptionException error) {
// empty implementation
}
public void onSubscribed(String subscriptionId) {
// empty implementation
}
}
@JoynrMulticast(name = "broadcastWithSinglePrimitiveParameter")
abstract Future subscribeToBroadcastWithSinglePrimitiveParameterBroadcast(
BroadcastWithSinglePrimitiveParameterBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
@JoynrMulticast(name = "broadcastWithSinglePrimitiveParameter")
abstract Future subscribeToBroadcastWithSinglePrimitiveParameterBroadcast(
String subscriptionId,
BroadcastWithSinglePrimitiveParameterBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
abstract void unsubscribeFromBroadcastWithSinglePrimitiveParameterBroadcast(String subscriptionId);
public interface BroadcastWithMultiplePrimitiveParametersBroadcastListener extends BroadcastSubscriptionListener {
public void onReceive(Double doubleOut, String stringOut);
}
public class BroadcastWithMultiplePrimitiveParametersBroadcastAdapter implements BroadcastWithMultiplePrimitiveParametersBroadcastListener {
public void onReceive(Double doubleOut, String stringOut) {
// empty implementation
}
public void onError(SubscriptionException error) {
// empty implementation
}
public void onSubscribed(String subscriptionId) {
// empty implementation
}
}
@JoynrMulticast(name = "broadcastWithMultiplePrimitiveParameters")
abstract Future subscribeToBroadcastWithMultiplePrimitiveParametersBroadcast(
BroadcastWithMultiplePrimitiveParametersBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
@JoynrMulticast(name = "broadcastWithMultiplePrimitiveParameters")
abstract Future subscribeToBroadcastWithMultiplePrimitiveParametersBroadcast(
String subscriptionId,
BroadcastWithMultiplePrimitiveParametersBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
abstract void unsubscribeFromBroadcastWithMultiplePrimitiveParametersBroadcast(String subscriptionId);
public interface BroadcastWithSingleArrayParameterBroadcastListener extends BroadcastSubscriptionListener {
public void onReceive(String[] stringArrayOut);
}
public class BroadcastWithSingleArrayParameterBroadcastAdapter implements BroadcastWithSingleArrayParameterBroadcastListener {
public void onReceive(String[] stringArrayOut) {
// empty implementation
}
public void onError(SubscriptionException error) {
// empty implementation
}
public void onSubscribed(String subscriptionId) {
// empty implementation
}
}
@JoynrMulticast(name = "broadcastWithSingleArrayParameter")
abstract Future subscribeToBroadcastWithSingleArrayParameterBroadcast(
BroadcastWithSingleArrayParameterBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
@JoynrMulticast(name = "broadcastWithSingleArrayParameter")
abstract Future subscribeToBroadcastWithSingleArrayParameterBroadcast(
String subscriptionId,
BroadcastWithSingleArrayParameterBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
abstract void unsubscribeFromBroadcastWithSingleArrayParameterBroadcast(String subscriptionId);
public interface BroadcastWithMultipleArrayParametersBroadcastListener extends BroadcastSubscriptionListener {
public void onReceive(Long[] uInt64ArrayOut, StructWithStringArray[] structWithStringArrayArrayOut);
}
public class BroadcastWithMultipleArrayParametersBroadcastAdapter implements BroadcastWithMultipleArrayParametersBroadcastListener {
public void onReceive(Long[] uInt64ArrayOut, StructWithStringArray[] structWithStringArrayArrayOut) {
// empty implementation
}
public void onError(SubscriptionException error) {
// empty implementation
}
public void onSubscribed(String subscriptionId) {
// empty implementation
}
}
@JoynrMulticast(name = "broadcastWithMultipleArrayParameters")
abstract Future subscribeToBroadcastWithMultipleArrayParametersBroadcast(
BroadcastWithMultipleArrayParametersBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
@JoynrMulticast(name = "broadcastWithMultipleArrayParameters")
abstract Future subscribeToBroadcastWithMultipleArrayParametersBroadcast(
String subscriptionId,
BroadcastWithMultipleArrayParametersBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
abstract void unsubscribeFromBroadcastWithMultipleArrayParametersBroadcast(String subscriptionId);
public interface BroadcastWithSingleEnumerationParameterBroadcastListener extends BroadcastSubscriptionListener {
public void onReceive(ExtendedTypeCollectionEnumerationInTypeCollection enumerationOut);
}
public class BroadcastWithSingleEnumerationParameterBroadcastAdapter implements BroadcastWithSingleEnumerationParameterBroadcastListener {
public void onReceive(ExtendedTypeCollectionEnumerationInTypeCollection enumerationOut) {
// empty implementation
}
public void onError(SubscriptionException error) {
// empty implementation
}
public void onSubscribed(String subscriptionId) {
// empty implementation
}
}
@JoynrMulticast(name = "broadcastWithSingleEnumerationParameter")
abstract Future subscribeToBroadcastWithSingleEnumerationParameterBroadcast(
BroadcastWithSingleEnumerationParameterBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
@JoynrMulticast(name = "broadcastWithSingleEnumerationParameter")
abstract Future subscribeToBroadcastWithSingleEnumerationParameterBroadcast(
String subscriptionId,
BroadcastWithSingleEnumerationParameterBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
abstract void unsubscribeFromBroadcastWithSingleEnumerationParameterBroadcast(String subscriptionId);
public interface BroadcastWithMultipleEnumerationParametersBroadcastListener extends BroadcastSubscriptionListener {
public void onReceive(ExtendedEnumerationWithPartlyDefinedValues extendedEnumerationOut, Enumeration enumerationOut);
}
public class BroadcastWithMultipleEnumerationParametersBroadcastAdapter implements BroadcastWithMultipleEnumerationParametersBroadcastListener {
public void onReceive(ExtendedEnumerationWithPartlyDefinedValues extendedEnumerationOut, Enumeration enumerationOut) {
// empty implementation
}
public void onError(SubscriptionException error) {
// empty implementation
}
public void onSubscribed(String subscriptionId) {
// empty implementation
}
}
@JoynrMulticast(name = "broadcastWithMultipleEnumerationParameters")
abstract Future subscribeToBroadcastWithMultipleEnumerationParametersBroadcast(
BroadcastWithMultipleEnumerationParametersBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
@JoynrMulticast(name = "broadcastWithMultipleEnumerationParameters")
abstract Future subscribeToBroadcastWithMultipleEnumerationParametersBroadcast(
String subscriptionId,
BroadcastWithMultipleEnumerationParametersBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
abstract void unsubscribeFromBroadcastWithMultipleEnumerationParametersBroadcast(String subscriptionId);
public interface BroadcastWithSingleStructParameterBroadcastListener extends BroadcastSubscriptionListener {
public void onReceive(ExtendedStructOfPrimitives extendedStructOfPrimitivesOut);
}
public class BroadcastWithSingleStructParameterBroadcastAdapter implements BroadcastWithSingleStructParameterBroadcastListener {
public void onReceive(ExtendedStructOfPrimitives extendedStructOfPrimitivesOut) {
// empty implementation
}
public void onError(SubscriptionException error) {
// empty implementation
}
public void onSubscribed(String subscriptionId) {
// empty implementation
}
}
@JoynrMulticast(name = "broadcastWithSingleStructParameter")
abstract Future subscribeToBroadcastWithSingleStructParameterBroadcast(
BroadcastWithSingleStructParameterBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
@JoynrMulticast(name = "broadcastWithSingleStructParameter")
abstract Future subscribeToBroadcastWithSingleStructParameterBroadcast(
String subscriptionId,
BroadcastWithSingleStructParameterBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
abstract void unsubscribeFromBroadcastWithSingleStructParameterBroadcast(String subscriptionId);
public interface BroadcastWithMultipleStructParametersBroadcastListener extends BroadcastSubscriptionListener {
public void onReceive(BaseStructWithoutElements baseStructWithoutElementsOut, ExtendedExtendedBaseStruct extendedExtendedBaseStructOut);
}
public class BroadcastWithMultipleStructParametersBroadcastAdapter implements BroadcastWithMultipleStructParametersBroadcastListener {
public void onReceive(BaseStructWithoutElements baseStructWithoutElementsOut, ExtendedExtendedBaseStruct extendedExtendedBaseStructOut) {
// empty implementation
}
public void onError(SubscriptionException error) {
// empty implementation
}
public void onSubscribed(String subscriptionId) {
// empty implementation
}
}
@JoynrMulticast(name = "broadcastWithMultipleStructParameters")
abstract Future subscribeToBroadcastWithMultipleStructParametersBroadcast(
BroadcastWithMultipleStructParametersBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
@JoynrMulticast(name = "broadcastWithMultipleStructParameters")
abstract Future subscribeToBroadcastWithMultipleStructParametersBroadcast(
String subscriptionId,
BroadcastWithMultipleStructParametersBroadcastListener subscriptionListener,
MulticastSubscriptionQos subscriptionQos,
String... partitions);
abstract void unsubscribeFromBroadcastWithMultipleStructParametersBroadcast(String subscriptionId);
public interface BroadcastWithFilteringBroadcastListener extends BroadcastSubscriptionListener {
public void onReceive(String stringOut, String[] stringArrayOut, ExtendedTypeCollectionEnumerationInTypeCollection enumerationOut, StructWithStringArray structWithStringArrayOut, StructWithStringArray[] structWithStringArrayArrayOut);
}
public class BroadcastWithFilteringBroadcastAdapter implements BroadcastWithFilteringBroadcastListener {
public void onReceive(String stringOut, String[] stringArrayOut, ExtendedTypeCollectionEnumerationInTypeCollection enumerationOut, StructWithStringArray structWithStringArrayOut, StructWithStringArray[] structWithStringArrayArrayOut) {
// empty implementation
}
public void onError(SubscriptionException error) {
// empty implementation
}
public void onSubscribed(String subscriptionId) {
// empty implementation
}
}
public class BroadcastWithFilteringBroadcastFilterParameters extends BroadcastFilterParameters {
public BroadcastWithFilteringBroadcastFilterParameters() {};
public BroadcastWithFilteringBroadcastFilterParameters(String stringOfInterest, String stringArrayOfInterest, String enumerationOfInterest, String structWithStringArrayOfInterest, String structWithStringArrayArrayOfInterest) {
super.setFilterParameter("stringOfInterest", stringOfInterest);
super.setFilterParameter("stringArrayOfInterest", stringArrayOfInterest);
super.setFilterParameter("enumerationOfInterest", enumerationOfInterest);
super.setFilterParameter("structWithStringArrayOfInterest", structWithStringArrayOfInterest);
super.setFilterParameter("structWithStringArrayArrayOfInterest", structWithStringArrayArrayOfInterest);
}
public void setStringOfInterest(String stringOfInterest) {
super.setFilterParameter("stringOfInterest", stringOfInterest);
}
public String getStringOfInterest() {
return super.getFilterParameter("stringOfInterest");
}
public void setStringArrayOfInterest(String stringArrayOfInterest) {
super.setFilterParameter("stringArrayOfInterest", stringArrayOfInterest);
}
public String getStringArrayOfInterest() {
return super.getFilterParameter("stringArrayOfInterest");
}
public void setEnumerationOfInterest(String enumerationOfInterest) {
super.setFilterParameter("enumerationOfInterest", enumerationOfInterest);
}
public String getEnumerationOfInterest() {
return super.getFilterParameter("enumerationOfInterest");
}
public void setStructWithStringArrayOfInterest(String structWithStringArrayOfInterest) {
super.setFilterParameter("structWithStringArrayOfInterest", structWithStringArrayOfInterest);
}
public String getStructWithStringArrayOfInterest() {
return super.getFilterParameter("structWithStringArrayOfInterest");
}
public void setStructWithStringArrayArrayOfInterest(String structWithStringArrayArrayOfInterest) {
super.setFilterParameter("structWithStringArrayArrayOfInterest", structWithStringArrayArrayOfInterest);
}
public String getStructWithStringArrayArrayOfInterest() {
return super.getFilterParameter("structWithStringArrayArrayOfInterest");
}
}
@JoynrRpcBroadcast(broadcastName = "broadcastWithFiltering")
abstract Future subscribeToBroadcastWithFilteringBroadcast(
BroadcastWithFilteringBroadcastListener broadcastListener,
OnChangeSubscriptionQos subscriptionQos,
BroadcastWithFilteringBroadcastFilterParameters filterParameters);
@JoynrRpcBroadcast(broadcastName = "broadcastWithFiltering")
abstract Future subscribeToBroadcastWithFilteringBroadcast(
String subscriptionId,
BroadcastWithFilteringBroadcastListener broadcastListener,
OnChangeSubscriptionQos subscriptionQos,
BroadcastWithFilteringBroadcastFilterParameters filterParameters);
abstract void unsubscribeFromBroadcastWithFilteringBroadcast(String subscriptionId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy