use of io.joynr.provider.DeferredVoid in project joynr by bmwcarit.
the class DummyCapabilitiesDirectory method remove.
@Override
public Promise<DeferredVoid> remove(String participantId) {
DeferredVoid deferred = new DeferredVoid();
logger.info("!!!!!!!!!!!!!!!removeCapabilities");
deferred.resolve();
return new Promise<DeferredVoid>(deferred);
}
use of io.joynr.provider.DeferredVoid in project joynr by bmwcarit.
the class DummyCapabilitiesDirectory method add.
@Override
public Promise<DeferredVoid> add(DiscoveryEntry discoveryEntry) {
DeferredVoid deferred = new DeferredVoid();
registeredCapabilities.add(CapabilityUtils.convertToDiscoveryEntryWithMetaInfo(true, discoveryEntry));
notifyCapabilityAdded(discoveryEntry);
deferred.resolve();
return new Promise<DeferredVoid>(deferred);
}
use of io.joynr.provider.DeferredVoid in project joynr by bmwcarit.
the class IltProvider method setAttributeByteBuffer.
@Override
public Promise<DeferredVoid> setAttributeByteBuffer(Byte[] attributeByteBuffer) {
DeferredVoid deferred = new DeferredVoid();
this.attributeByteBuffer = attributeByteBuffer;
attributeByteBufferChanged(attributeByteBuffer);
deferred.resolve();
return new Promise<DeferredVoid>(deferred);
}
use of io.joynr.provider.DeferredVoid in project joynr by bmwcarit.
the class IltProvider method setAttributeEnumeration.
@Override
public Promise<DeferredVoid> setAttributeEnumeration(Enumeration attributeEnumeration) {
DeferredVoid deferred = new DeferredVoid();
this.attributeEnumeration = attributeEnumeration;
attributeEnumerationChanged(attributeEnumeration);
deferred.resolve();
return new Promise<DeferredVoid>(deferred);
}
use of io.joynr.provider.DeferredVoid in project joynr by bmwcarit.
the class IltProvider method setAttributeExtendedExtendedBaseStruct.
@Override
public Promise<DeferredVoid> setAttributeExtendedExtendedBaseStruct(ExtendedExtendedBaseStruct attributeExtendedExtendedBaseStruct) {
DeferredVoid deferred = new DeferredVoid();
this.attributeExtendedExtendedBaseStruct = attributeExtendedExtendedBaseStruct;
attributeExtendedExtendedBaseStructChanged(attributeExtendedExtendedBaseStruct);
deferred.resolve();
return new Promise<DeferredVoid>(deferred);
}
Aggregations