Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

XMPPEvents.js 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * Copyright @ 2015 Atlassian Pty Ltd
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. var XMPPEvents = {
  17. CONNECTION_FAILED: "xmpp.connection.failed",
  18. CONFERENCE_CREATED: "xmpp.conferenceCreated.jingle",
  19. CALL_TERMINATED: "xmpp.callterminated.jingle",
  20. CALL_INCOMING: "xmpp.callincoming.jingle",
  21. DISPOSE_CONFERENCE: "xmpp.dispose_conference",
  22. GRACEFUL_SHUTDOWN: "xmpp.graceful_shutdown",
  23. KICKED: "xmpp.kicked",
  24. BRIDGE_DOWN: "xmpp.bridge_down",
  25. USER_ID_CHANGED: "xmpp.user_id_changed",
  26. STREAMS_CHANGED: "xmpp.streams_changed",
  27. // We joined the MUC
  28. MUC_JOINED: "xmpp.muc_joined",
  29. // A member joined the MUC
  30. MUC_MEMBER_JOINED: "xmpp.muc_member_joined",
  31. // A member left the MUC
  32. MUC_MEMBER_LEFT: "xmpp.muc_member_left",
  33. MUC_ROLE_CHANGED: "xmpp.muc_role_changed",
  34. MUC_DESTROYED: "xmpp.muc_destroyed",
  35. DISPLAY_NAME_CHANGED: "xmpp.display_name_changed",
  36. REMOTE_STATS: "xmpp.remote_stats",
  37. LOCAL_ROLE_CHANGED: "xmpp.localrole_changed",
  38. PRESENCE_STATUS: "xmpp.presence_status",
  39. RESERVATION_ERROR: "xmpp.room_reservation_error",
  40. SUBJECT_CHANGED: "xmpp.subject_changed",
  41. MESSAGE_RECEIVED: "xmpp.message_received",
  42. SENDING_CHAT_MESSAGE: "xmpp.sending_chat_message",
  43. PASSWORD_REQUIRED: "xmpp.password_required",
  44. AUTHENTICATION_REQUIRED: "xmpp.authentication_required",
  45. CHAT_ERROR_RECEIVED: "xmpp.chat_error_received",
  46. ETHERPAD: "xmpp.etherpad",
  47. DEVICE_AVAILABLE: "xmpp.device_available",
  48. START_MUTED: "xmpp.start_muted"
  49. };
  50. module.exports = XMPPEvents;