comparison src/plugins/plugin_misc_ip.py @ 2504:67cc54b01a12

plugin file sharing component: first draft: this component act as an endpoint where a user can store and retrieve its files using Jingle.
author Goffi <goffi@goffi.org>
date Wed, 28 Feb 2018 18:28:39 +0100
parents e2a7bb875957
children
comparison
equal deleted inserted replaced
2503:c0bec8bac2b5 2504:67cc54b01a12
43 43
44 PLUGIN_INFO = { 44 PLUGIN_INFO = {
45 C.PI_NAME: "IP discovery", 45 C.PI_NAME: "IP discovery",
46 C.PI_IMPORT_NAME: "IP", 46 C.PI_IMPORT_NAME: "IP",
47 C.PI_TYPE: C.PLUG_TYPE_MISC, 47 C.PI_TYPE: C.PLUG_TYPE_MISC,
48 C.PI_MODES: C.PLUG_MODE_BOTH,
48 C.PI_PROTOCOLS: ["XEP-0279"], 49 C.PI_PROTOCOLS: ["XEP-0279"],
49 C.PI_RECOMMENDATIONS: ["NAT-PORT"], 50 C.PI_RECOMMENDATIONS: ["NAT-PORT"],
50 C.PI_MAIN: "IPPlugin", 51 C.PI_MAIN: "IPPlugin",
51 C.PI_HANDLER: "yes", 52 C.PI_HANDLER: "yes",
52 C.PI_DESCRIPTION: _("""This plugin help to discover our external IP address.""") 53 C.PI_DESCRIPTION: _("""This plugin help to discover our external IP address.""")