![JAR search and dependency download from the Maven repository](/logo.png)
joynr.types.CommunicationMiddleware.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libjoynr-js Show documentation
Show all versions of libjoynr-js Show documentation
JOYnr JavaScript libjoynr-js
/**
* This is the generated enum type CommunicationMiddleware: DOCS GENERATED FROM INTERFACE DESCRIPTION
* Generation date: Fri Nov 20 11:55:21 CET 2015
*/
(function(undefined) {
/**
* @namespace CommunicationMiddleware
* @classdesc
* This is the generated enum type CommunicationMiddleware: DOCS GENERATED FROM INTERFACE DESCRIPTION
*
Generation date: Fri Nov 20 11:55:21 CET 2015
*
Enumeration specifying the different means for communication
*/
var CommunicationMiddleware = function CommunicationMiddleware(settings){
if (!(this instanceof CommunicationMiddleware)) {
// in case someone calls constructor without new keyword (e.g. var c = Constructor({..}))
return new CommunicationMiddleware(members);
}
if (settings !== undefined) {
this.name = settings.name;
this.value = settings.value;
}
/**
* Used for serialization.
* @name CommunicationMiddleware#_typeName
* @type String
* @field
* @readonly
*/
Object.defineProperty(this, "_typeName", {
configurable : false,
writable : false,
enumerable : true,
value : "joynr.types.CommunicationMiddleware"
});
};
var createLiterals = function() {
/**
* @name CommunicationMiddleware.JOYNR
* @readonly
* @summary
*
Joynr internal communication
*/
CommunicationMiddleware.JOYNR = new CommunicationMiddleware({
name: "JOYNR",
value: "JOYNR"
});
/**
* @name CommunicationMiddleware.COMMONAPI_DBUS
* @readonly
* @summary
*
Communication using CommonAPI over DBus
*/
CommunicationMiddleware.COMMONAPI_DBUS = new CommunicationMiddleware({
name: "COMMONAPI_DBUS",
value: "COMMONAPI_DBUS"
});
/**
* @name CommunicationMiddleware.BROWSER
* @readonly
* @summary
*
Communication using Browser
*/
CommunicationMiddleware.BROWSER = new CommunicationMiddleware({
name: "BROWSER",
value: "BROWSER"
});
/**
* @name CommunicationMiddleware.WEBSOCKET
* @readonly
* @summary
*
Communication using web sockets
*/
CommunicationMiddleware.WEBSOCKET = new CommunicationMiddleware({
name: "WEBSOCKET",
value: "WEBSOCKET"
});
/**
* @name CommunicationMiddleware.SOME_IP
* @readonly
* @summary
*
Communication using Some IP protocol
*/
CommunicationMiddleware.SOME_IP = new CommunicationMiddleware({
name: "SOME_IP",
value: "SOME_IP"
});
/**
* @name CommunicationMiddleware.IN_PROCESS
* @readonly
* @summary
*
Communication using in process means
*/
CommunicationMiddleware.IN_PROCESS = new CommunicationMiddleware({
name: "IN_PROCESS",
value: "IN_PROCESS"
});
/**
* @name CommunicationMiddleware.NONE
* @readonly
* @summary
*
None of the above
*/
CommunicationMiddleware.NONE = new CommunicationMiddleware({
name: "NONE",
value: "NONE"
});
};
// AMD support
if (typeof define === 'function' && define.amd) {
define("joynr/types/CommunicationMiddleware", ["joynr"], function (joynr) {
CommunicationMiddleware.prototype = new joynr.JoynrObject();
CommunicationMiddleware.prototype.constructor = CommunicationMiddleware;
createLiterals();
joynr.addType("joynr.types.CommunicationMiddleware", CommunicationMiddleware, true);
return CommunicationMiddleware;
});
} else if (typeof exports !== 'undefined' ) {
if ((module !== undefined) && module.exports) {
exports = module.exports = CommunicationMiddleware;
} else {
// support CommonJS module 1.1.1 spec (`exports` cannot be a function)
exports.CommunicationMiddleware = CommunicationMiddleware;
}
var joynr = requirejs("joynr");
CommunicationMiddleware.prototype = new joynr.JoynrObject();
CommunicationMiddleware.prototype.constructor = CommunicationMiddleware;
createLiterals();
joynr.addType("joynr.types.CommunicationMiddleware", CommunicationMiddleware, true);
} else {
//we assume a correct order of script loading
joynr = window.joynr;
CommunicationMiddleware.prototype = new joynr.JoynrObject();
CommunicationMiddleware.prototype.constructor = CommunicationMiddleware;
createLiterals();
joynr.addType("joynr.types.CommunicationMiddleware", CommunicationMiddleware, true);
window.CommunicationMiddleware = CommunicationMiddleware;
}
})();
© 2015 - 2025 Weber Informatics LLC | Privacy Policy